Rise
The Vieneo Province
Loading...
Searching...
No Matches
Cloud Light Visibility tests

Checks whether distant light sightlines are obscured by local cloud layers.

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

Build/entry point: Tests/CloudLightVisibilityTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.

CloudLightVisibilityTests.cpp

Source: Tests/CloudLightVisibilityTests.cpp

Entry-point checks

Fixture: Cloud Light Visibility tests
Case symbol: main
Source: Tests/CloudLightVisibilityTests.cpp:12

Test
Entry-point checks: reconstruct an airport lamp over 11 km away; ground lamp is hidden through the reported in-cloud sightline; clear sightline below the deck preserves ground lights.
Source check messages (including original failure wording)

  • reconstruct an airport lamp over 11 km away
  • ground lamp is hidden through the reported in-cloud sightline
  • clear sightline below the deck preserves ground lights
  • nearby lamp remains visible inside cloud; no blanket altitude switch
  • clouds block the lamp even with both endpoints in clear air
  • ascending and descending give identical light visibility