Checks weather override command parsing, bounds and reset behavior.
Subsystem: Weather, clouds, lightning and atmospheric visibility
Fixture/harness: weatheroverridetests
Setup: The standalone WeatherOverrideTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/WeatherOverrideTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.
WeatherOverrideTests.cpp
Source: Tests/WeatherOverrideTests.cpp
Entry-point checks
Fixture: Weather Override tests
Case symbol: main
Source: Tests/WeatherOverrideTests.cpp:12
- Test
- Entry-point checks: invalid rain leaves the prior value alone; French numeric locale available; decimal point ignores UI locale.
Source check messages (including original failure wording)
-
fractional rain
-
clear endpoint
-
downpour endpoint
-
weather reset
-
invalid rain leaves the prior value alone
-
125 metre base
-
ground-level base
-
base upper limit
-
base above supported deck
-
negative base is not reset
-
base reset
-
French numeric locale available
-
decimal point ignores UI locale
-
comma is not silently truncated
-
base snaps without overwriting weather
-
weather packet keeps base override
-
base reset uses latest weather independently
-
visibility command accepts supported ranges and reset
-
invalid visibility cannot set zero fog distance or silently change the range
-
500 metre fog at Deois ground level
-
atmospheric visibility recovers aloft
-
surface fog does not obscure orbit
-
automatic low cloud base must match the manual BCL override over local terrain
-
automatic ground-cloud density must match the benchmarked manual base
-
reposition applies destination cloud base and activity immediately even on a zero-time frame
-
reposition replaces old local wind while preserving the planet-fixed cloud formation
-
stationary BCL has no retained local-weather transition after reset
-
ordinary weather changes still blend after reposition
-
above-deck aircraft weather cannot replace the retained cloud deck during reset