Rise
The Vieneo Province
Loading...
Searching...
No Matches
Biometer tests

Checks physiological readings, G-load response and diagnostic behavior when state becomes invalid.

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

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

BiometerDiagnosticsTests.h

Source: Tests/BiometerDiagnosticsTests.h

Run Biometer G Load Tests

Fixture: Biometer tests
Case symbol: RunBiometerGLoadTests
Source: Tests/BiometerDiagnosticsTests.h:22

Test
Checks expected positive/negative G-load and microgravity responses across ground, hover, ascent and re-entry conditions.
Source check messages (including original failure wording)

  • Normal negative-G response changed
  • Existing microgravity response changed
  • Ground, hover, ascent or re-entry positive-G response changed
  • Extreme negative G escaped the bounded reduction
  • Finite negative-G load still generated an invalid target or BPM
  • Simulator negative-G load generated a fault
  • Changing G direction corrupted the BPM
  • BPM failed to follow the bounded target across a G transition
  • Nonfinite G input was hidden by saturation
  • Nonfinite G input escaped the existing BPM guard

Run Biometer State Tests

Fixture: Biometer tests
Case symbol: RunBiometerStateTests
Source: Tests/BiometerDiagnosticsTests.h:81

Test
Checks that invalid reposition inputs cannot corrupt healthy BPM while the raw fault remains visible in diagnostics.
Source check messages (including original failure wording)

  • Reposition's negative target corrupted a healthy BPM
  • Protecting BPM hid the raw reposition fault from diagnostics
  • Overflowed reposition target changed a healthy BPM
  • BPM did not resume normal recovery after reposition
  • Previously corrupted BPM was not repaired immediately
  • Long frame overshot the recovery target
  • Normal heartbeat acceleration changed
  • Normal wake-up heartbeat changed
  • High target exceeded character maximum
  • Dead character's heartbeat restarted
  • Invalid stored state escaped recovery
  • Heartbeat audio effort escaped its valid range
  • Corrupt animation phase was not repaired
  • Animation did not wrap across multiple heartbeat cycles
  • Invalid animation input escaped normalization

Run Biometer Diagnostic Tests

Fixture: Biometer tests
Case symbol: RunBiometerDiagnosticTests
Source: Tests/BiometerDiagnosticsTests.h:124

Test
Run Biometer Diagnostic Tests: Healthy simulated BPM generated a diagnostic; Normal upper BPM cap was reported as a fault; Initial wake-up BPM was reported as a fault.
Source check messages (including original failure wording)

  • Healthy simulated BPM generated a diagnostic
  • Normal upper BPM cap was reported as a fault
  • Initial wake-up BPM was reported as a fault
  • Intentional zero BPM at death was reported as a fault
  • Negative G sign reversal was not diagnosed
  • Long-frame overshoot was not diagnosed
  • Previously corrupted BPM was not identified
  • Invalid model maximum was not diagnosed
  • NaN BPM escaped validation
  • Overflowed G term was not identified
  • Nonfinite calculation input escaped validation
  • Negative baseline escaped validation
  • Invalid animation state escaped validation
  • Healthy frames were written to disk
  • Fault context was not emitted before the bounded server summary
  • Biometer report lost preceding healthy frames or the raw negative value
  • Sustained fault spammed the log each frame
  • Persistent fault was never reported again
  • Recovery was not recorded locally
  • A new fault episode was not recorded

BiometerTests.cpp

Source: Tests/BiometerTests.cpp

Setup/dispatch source: named verification groups are documented under the associated case files.