Checks altitude and ground-marker state immediately after repositioning.
Subsystem: Vehicles, cockpit geometry and surface physics
Fixture/harness: repositionaltitudetests
Setup: The standalone RepositionAltitudeTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/RepositionAltitudeTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.
RepositionAltitudeTests.cpp
Source: Tests/RepositionAltitudeTests.cpp
Entry-point checks
Fixture: Reposition Altitude tests
Case symbol: main
Source: Tests/RepositionAltitudeTests.cpp:57
- Test
- Checks reposition clears stale ground AGL/markers and establishes the above-cloud state before querying old terrain.
Source check messages (including original failure wording)
-
reposition retained the old ground AGL
-
reposition did not hide the ground marker
-
old terrain queried before above-cloud flag caught up
-
old terrain overwrote the reposition clearance
-
false ground marker returned after reposition
-
contained vehicle queried stale terrain in orbit
-
false ground marker persisted in orbit
-
landing did not restore near-zero radio altitude
-
normal ground marker suppressed after return
-
contained surface vehicle no longer refreshes its terrain position
-
ground marker did not clear during normal climb
-
unavailable terrain was sampled