Checks tire grip limits, cornering drift and non-energy-increasing ground friction.
Subsystem: Vehicles, cockpit geometry and surface physics
Fixture/harness: groundtiregriptests
Setup: The standalone GroundTireGripTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/GroundTireGripTests.vcxproj; declared configurations: Debug|Win32.
GroundTireGripTests.cpp
Source: Tests/GroundTireGripTests.cpp
Test Cornering Budget
Fixture: Ground Tire Grip tests
Case symbol: TestCorneringBudget
Source: Tests/GroundTireGripTests.cpp:15
- Test
- Checks dry-pavement turns remain within available grip while over-budget wet turns can slip; retains the original drift reproduction.
Source check messages (including original failure wording)
-
a turn within dry pavement grip accumulated sideways slip
-
regression scenario did not reproduce old sideways drift
-
wet pavement incorrectly held a turn beyond its available grip
-
overloaded dry tires did not use the sliding friction budget
Entry-point checks
Fixture: Ground Tire Grip tests
Case symbol: main
Source: Tests/GroundTireGripTests.cpp:45
- Test
- Checks unloaded tires apply no lateral force and friction cannot add energy or reverse velocity, including the static-grip boundary.
Source check messages (including original failure wording)
-
unloaded tires applied lateral friction
-
friction added energy or reversed lateral velocity
-
static grip failed at the budget boundary