Rise
The Vieneo Province
Loading...
Searching...
No Matches
Head Acceleration tests

Checks head acceleration and suppression/recovery during terrain waits and transitions.

Subsystem: Audio and physiological effects
Fixture/harness: headaccelerationtests
Setup: The standalone HeadAccelerationTests harness owns the inputs, local helpers and assertion sink used by the case files below.

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

HeadAccelerationTests.cpp

Source: Tests/HeadAccelerationTests.cpp

Entry-point checks

Fixture: Head Acceleration tests
Case symbol: main
Source: Tests/HeadAccelerationTests.cpp:11

Test
Checks ordinary gameplay retains head compensation while delayed reposition impulses and unsettled/missing terrain are excluded.
Source check messages (including original failure wording)

  • Ordinary gameplay was suppressed
  • Terrain wait ended early
  • Captured delayed reposition impulse entered head compensation
  • Missing terrain was treated as settled
  • Late terrain impulse escaped the guard
  • Infinite force ended settling
  • NaN force ended settling
  • Settled terrain did not restore normal effects
  • Normal post-reposition G effects were disabled
  • Orbit grace period ended early
  • Orbit reset waited forever for ground terrain
  • Loading stall consumed the entire settling period
  • NaN dt ended settling
  • Second reposition failed to restart protection
  • Normal low-G compensation changed
  • Normal-play impulse created excessive head debt
  • Collision lean exceeded the head limits
  • Infinite collision force poisoned compensation
  • Invalid prior compensation did not recover
  • Long frame overshot compensation
  • Captured head debt lingered after forces settled
  • Long frame overshot head recovery