Port existing condition tests
- Ported
TimeHeadwayConditionTest
fromexisting_open_scenario_engine/test/TimeHeadwayConditionTest.cpp
to the generated engine - Ported
RelativeDistanceConditionTest
fromexisting_open_scenario_engine/test/RelativeDistanceConditionTest.cpp
to the generated engine - Ported
UserDefinedValueConditionTest
fromexisting_open_scenario_engine/test/UserDefinedValueConditionTest.cpp
to the generated engine -
Some tests had to be adapted for the time being, since the generated engine doesn't implement the checking of preconditionsInstead the generated engine either does nothing specific or throws an exception in case some preconditions are not met
- Adapted
TimeHeadwayCondition
to include pre-condition checks and returnfalse
when those conditions are not met
Edited by Frank Prüfer