portree_kid
cf0d90ef3d
Cleanup Inheritance in ATC
2022-01-31 22:34:05 +01:00
Scott Giese
f198ac8d8d
AIBase: Refactor
...
getTypeString returns string_view
object_type to strongly-typed enum
ModelSearchOrder to strongly-typed enum
2022-01-15 22:54:30 -06:00
James Turner
395eb58d14
Adjust the ground-net test, for changed ground routing.
2022-01-15 22:23:38 +00:00
Julian Smith
cfe5ed0ef4
test_suite/unit_tests/AI/test_traffic.cxx: minor improvements to sprintf code.
...
Use snprintf() instead of sprintf() to avoid potential memory corruption.
Fixed sprintf time_t call - cast to long long.
2022-01-08 16:11:53 +00:00
PortreeKid
f1a44c98df
AI Improvements
...
* Relax runway exit route requirement to 80°
* Ensure parking is only reset if airport for AI aircraft has changed
* Heading Error signed and arrival lead distance
2021-08-31 09:43:24 +01:00
James Turner
3082789582
Disable the traffic tests for now
2021-07-21 10:59:22 +01:00
James Turner
870dbc04f5
Test infrastrucutre tweaks
2021-07-21 10:59:08 +01:00
portree_kid
61ced0e86f
Change filewriting to simgear
2021-07-13 10:52:30 +01:00
portree_kid
f4bc2913c1
Flightplan Test
2021-07-13 10:52:30 +01:00
James Turner
a3c9f3163e
Traffic tests: use shared pointers and new APIs
2021-07-13 10:49:06 +01:00
James Turner
6ab1fdbe0f
Fixes for Keith’s tests
2021-07-13 10:49:06 +01:00
portree_kid
45ac50d2b7
Time moving
2021-07-13 10:49:06 +01:00
portree_kid
80e553f05c
Departure gate test
2021-07-13 10:49:06 +01:00
portree_kid
54de08a3b6
Fix #2576 Added findWithHeading
2021-07-13 10:41:30 +01:00
portree_kid
3d3ff623cd
Add dump() method to AIAircaft
2021-07-13 10:41:30 +01:00
portree_kid
cb3f8056ff
Test AI shuttle flight
2021-07-13 10:41:30 +01:00
portree_kid
3318e09441
Test for TrafficMgr
2021-07-13 10:29:04 +01:00
portree_kid
9121e8bcef
Test Complete Flight
2021-07-13 10:29:04 +01:00
portree_kid
bef7af0bc0
testPushforwardSpeedy
2021-07-13 10:29:03 +01:00
PortreeKid
19b910775e
Runway Tests
2021-07-13 10:29:03 +01:00
portree_kid
620dd9ee48
YSCB AI parking test
2021-07-12 16:21:19 +01:00
portree_kid
dccea87cea
AI Test Windchange
2021-07-12 16:21:19 +01:00
portree_kid
84258c79a0
Flightplan Test draft
2021-07-12 16:21:09 +01:00
portree_kid
03574442c0
AI Tests
2021-07-12 16:19:44 +01:00
portree_kid
9dd5c0e055
Moved AI FlightPlan Tests to seperate test class
2021-07-12 16:19:44 +01:00
portree_kid
d96602fc90
Tests for groundnet.cxx
2021-07-12 16:19:44 +01:00
James Turner
e8952b6c0f
Update tests for revised Subsystem API
2021-04-25 19:18:56 +01:00
Colin Geniet
9008b3194f
AI: Fix unit problems for AIBase::vs
...
It was supposed to be in ft/min, but everything except AIAircraft was
using it as ft/sec. Change the name to AIBase::vs_fps and ensure the
same unit is used everywhere.
2021-02-11 09:27:36 +00:00
Colin Geniet
b738058945
Tests: Add some unit tests for submodels
...
Tests:
- loading XML submodels file, using just about every documented tag.
- submodel release trigger
- initial submodel position and velocity
2021-01-18 11:45:41 +00:00
James Turner
02814ebe35
Tests: mark some expected-fail tests
...
Disable GPS::finalLegCourseTest, and one of the View index tests,
so that tests pass successfully.
Also add some default properties so the skeleton traffic tests start
up without crashing.
2021-01-18 11:45:13 +00:00
James Turner
783212b954
Traffic: add a trivial test of createPushback
...
No validation yet, but creates all the needed pieces and doesn’t crash.
2020-12-21 13:25:15 +00:00
James Turner
e46c6f587b
AIFlightPlan: remove ‘erase’ option from Decrement
...
Thankfully, the erase option to DecrementWaypoint was never used, so
remove it, since it’s … mental.
2020-09-05 11:16:36 +01:00
James Turner
02cfaeabba
Tests: AIFlightPlan Increment/Decrement
...
Capture the current behaviour of Increment/DecrementWaypoint in
AI flightplans, prior to making some simplifications. Especially try
to test the behaviour of the ‘increment and erase’ logic.
2020-09-05 11:14:00 +01:00
James Turner
f5b5828bd0
AIFlightPlan: add test for XML parsing
...
This meant some slight refactoring to expose some easier APIs for
testing, but the normal methods should be unaffected.
2020-09-05 10:44:43 +01:00
James Turner
3a3ff07883
Start testing FGAIFlightPlan
2020-09-05 10:44:43 +01:00
James Turner
1f6b43c38f
More AI tests
2020-09-03 17:51:40 +01:00
James Turner
d1fc4b58cb
Start creating tests of AIModel code
...
First test just creates the manager, and ensures the user aircraft
updates in sync with the real aircraft.
2020-09-03 17:51:40 +01:00