Checks authored wiper geometry, motion and audio eligibility.
Subsystem: Rain, windshields and wipers
Fixture/harness: windshieldwipertests
Setup: Explicit setup symbols: Fixture. The standalone WindshieldWiperTests harness owns the inputs, local helpers and assertion sink used by the case files below. Fixture is scoped to this harness; similarly named fixtures in other executables are independent.
Build/entry point: Tests/WindshieldWiperTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.
WindshieldWiperTests.cpp
Source: Tests/WindshieldWiperTests.cpp
Check Shipped Blades
Fixture: Windshield Wiper tests
Case symbol: CheckShippedBlades
Source: Tests/WindshieldWiperTests.cpp:22
- Test
- Check Shipped Blades: authored blade has geometry.
Source check messages (including original failure wording)
-
authored blade has geometry
Entry-point checks
Fixture: Windshield Wiper tests
Case symbol: main
Source: Tests/WindshieldWiperTests.cpp:64
- Test
- Entry-point checks: two-millimetre sliding blade enables audio; sub-millimetre authoring noise stays silent; glass without blades stays silent.
Source check messages (including original failure wording)
-
rotating blade enables audio
-
two-millimetre sliding blade enables audio
-
zero-travel blade stays silent
-
sub-millimetre authoring noise stays silent
-
empty component stays silent
-
glass without blades stays silent
-
keybind ON changes state and requests an event
-
crash cannot turn running wipers off or resend ON
-
keybind OFF changes state and requests an event
-
crash activation uses the same state/event path
-
repeated activation does not flood the wire
-
OFF stays parked
-
ON runs continuously at 1.2 Hz
-
pause is silent and stationary
-
power loss preserves pose
-
OFF waits for power before parking
-
OFF returns smoothly instead of snapping to park
-
off completes return and parks
-
re-enabling resumes the same fixed rate
-
each vehicle obeys its own on/off state, including slot zero
-
one vehicle parking cannot stop another vehicle
-
new slot occupant starts parked
-
stalls cannot jump across entire sweeps
-
invalid time cannot corrupt animation or play audio