1
0
Fork 0
flightgear/test_suite/unit_tests
James Turner 6baa55b36b Waypoint hiding support (for the A320, etc)
To support FMS which delete ‘past’ waypoints, add some helpers:
 - waypoints can be flagged as hidden, this property is exposed to Nasal
 - currentWP() accepts an offset parameter, allowing FlightPlan indexing
   to treat the current WP as index 0
 - a ‘numRemainingWaypoints()’ function on flightPlan in Nasal, again
   to range how many waypoints are left, starting from the current WP

Add some basic tests of these new features to the route-manager tests.
2020-05-01 09:28:42 +01:00
..
Add-ons Rename test globals to testGlobals [.cxx|.hxx] 2019-09-24 11:39:34 +01:00
FDM TestSuite: Shifted the YASim atmosphere test into the CppUnit framework. 2018-07-26 15:52:07 +02:00
general TestSuite: Converted the old tests/test-mktime.cxx program into a unit test. 2018-03-23 17:26:04 +01:00
Input Rename test globals to testGlobals [.cxx|.hxx] 2019-09-24 11:39:34 +01:00
Instrumentation GPS/FLightPlan test updates 2020-04-21 15:48:41 +01:00
Main Unit tests for initial position (Main/positioninit.cxx) 2020-04-12 21:46:50 +01:00
Navaids Waypoint hiding support (for the A320, etc) 2020-05-01 09:28:42 +01:00
Scripting TestSuite: Initial support for a FlightGear test suite based on CppUnit. 2018-03-23 17:26:04 +01:00
CMakeLists.txt UNit-tests for the NavRadio 2018-11-25 13:12:50 +00:00