1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
portree_kid
03574442c0 AI Tests 2021-07-12 16:19:44 +01:00
James Turner
548b9d8bc0 System test for Options
Test various combinations of aircraft-dir, aircraft and fg-aircraft
options.
2021-01-24 15:01:45 +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
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
54f660764e Tests: change how we find+load data files
Avoid encoding test-data as strings, since this exceeds MSVC limits
on string literals, and tests don’t need to be relocatable anyway,
so we can just hard-code the source location into config.h
2020-05-24 14:14:35 +01:00
James Turner
63fe5237c6 Improve interaction of —parkpos and repositioning
Re-work how position-init and ATC-manager work together to do
parking assignment and fallback (when the parking is unavailable).
Improve the logic for the reposition case, and teach ATC-manager about
reposition explicitly.

When the parking is unavailable, explicitly fall back to best-runway
selection in finalizePosition.

Add many additional position-init tests, to cover all of this.
2020-05-19 18:00:34 +01:00