Rise
The Vieneo Province
Loading...
Searching...
No Matches
Sun Position Override11 tests

Checks sun override command parsing, endpoints, fractional inputs and reset behavior.

Subsystem: Weather, clouds, lightning and atmospheric visibility
Fixture/harness: sunpositionoverride11tests
Setup: The standalone SunPositionOverride11Tests harness owns the inputs, local helpers and assertion sink used by the case files below.

Build/entry point: Tests/SunPositionOverride11Tests.vcxproj; declared configurations: Release|x64.

SunPositionOverride11Tests.cpp

Source: Tests/SunPositionOverride11Tests.cpp

Entry-point checks

Fixture: Sun Position Override11 tests
Case symbol: main
Source: Tests/SunPositionOverride11Tests.cpp:13

Test
Entry-point checks: endpoints, fractions and reset accepted; invalid input leaves previous position alone; linear elevation from nadir through horizon to zenith at every latitude.
Source check messages (including original failure wording)

  • fractional sun input
  • endpoints, fractions and reset accepted
  • invalid input leaves previous position alone
  • solar distance retained
  • solar disc size retained
  • disc faces observer
  • linear elevation from nadir through horizon to zenith at every latitude
  • disc and illumination agree
  • natural sun bearing retained
  • no accumulation or fallback drift
  • reset and invalid override preserve current orbit and light exactly