Rise
The Vieneo Province
Loading...
Searching...
No Matches
Vehicle Visibility tests

Checks compile-time vehicle visibility across the cloud deck and at its boundaries.

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

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

VehicleVisibilityTests.cpp

Source: Tests/VehicleVisibilityTests.cpp

Compile-time checks

Fixture: Vehicle Visibility tests
Case symbol: static_assert
Source: Tests/VehicleVisibilityTests.cpp:3

Test
Compile-time visibility checks: ground vehicles hidden from above; upper vehicles hidden from below; negative terrain altitude is on lower side.
Source check messages (including original failure wording)

  • ground vehicles hidden from above
  • upper vehicles hidden from below
  • opposite sides near cloud top
  • symmetric near cloud top
  • upper vehicles remain visible
  • lower vehicles remain visible
  • boundary remains visible
  • lower boundary remains visible
  • negative terrain altitude is on lower side