test: make prerequisite lanes fail honestly
This commit is contained in:
parent
dfc841b779
commit
6faeb4a103
113 changed files with 424 additions and 336 deletions
|
|
@ -68,7 +68,7 @@ public class DoorCollisionApparatusTests
|
|||
[Fact]
|
||||
public void Apparatus_DeadCenter_FrontApproach_BlocksOnBSP()
|
||||
{
|
||||
if (!TryBuildScenario(out var ctx)) return;
|
||||
if (!TryBuildScenario(out var ctx)) Assert.Fail("Lane=InstalledDat requires an installed retail DAT directory; see docs/release-gate.md.");
|
||||
|
||||
// Door at world (12, 12, 0). The frame's BSP slab extends
|
||||
// entity-local Y∈[-0.009, 0.252] (poly Y range plus frame[0] offset).
|
||||
|
|
@ -109,7 +109,7 @@ public class DoorCollisionApparatusTests
|
|||
[Fact]
|
||||
public void Apparatus_SingleLargeTickJump_DeadCenter_StillBlocksOnBSP()
|
||||
{
|
||||
if (!TryBuildScenario(out var ctx)) return;
|
||||
if (!TryBuildScenario(out var ctx)) Assert.Fail("Lane=InstalledDat requires an installed retail DAT directory; see docs/release-gate.md.");
|
||||
|
||||
var start = new Vector3(12f, 11f, 0.5f);
|
||||
// The full 20-tick × 0.10 m approach in ONE resolve call.
|
||||
|
|
@ -145,7 +145,7 @@ public class DoorCollisionApparatusTests
|
|||
[Fact]
|
||||
public void Apparatus_50cmOffCenter_FrontApproach_BlocksOnBSP()
|
||||
{
|
||||
if (!TryBuildScenario(out var ctx)) return;
|
||||
if (!TryBuildScenario(out var ctx)) Assert.Fail("Lane=InstalledDat requires an installed retail DAT directory; see docs/release-gate.md.");
|
||||
|
||||
// Same setup, but start 0.5 m off-center in X. Slab X range
|
||||
// is approximately [11.05, 12.97] (frame[0].X offset = -0.006).
|
||||
|
|
@ -175,7 +175,7 @@ public class DoorCollisionApparatusTests
|
|||
[Fact]
|
||||
public void Apparatus_DeadCenter_BackApproach_BlocksOnBSP()
|
||||
{
|
||||
if (!TryBuildScenario(out var ctx)) return;
|
||||
if (!TryBuildScenario(out var ctx)) Assert.Fail("Lane=InstalledDat requires an installed retail DAT directory; see docs/release-gate.md.");
|
||||
|
||||
// Start past the door at Y=13, walk back toward -Y.
|
||||
var start = new Vector3(12f, 13f, 0.5f);
|
||||
|
|
@ -205,7 +205,7 @@ public class DoorCollisionApparatusTests
|
|||
[Fact]
|
||||
public void Apparatus_DiagnosticDump_FrontApproach()
|
||||
{
|
||||
if (!TryBuildScenario(out var ctx)) return;
|
||||
if (!TryBuildScenario(out var ctx)) Assert.Fail("Lane=InstalledDat requires an installed retail DAT directory; see docs/release-gate.md.");
|
||||
|
||||
PhysicsDiagnostics.ProbeResolveEnabled = true;
|
||||
PhysicsDiagnostics.ProbeBuildingEnabled = true;
|
||||
|
|
@ -263,7 +263,7 @@ public class DoorCollisionApparatusTests
|
|||
[Fact]
|
||||
public void Apparatus_Grounded_50cmOffCenter_FrontApproach_Blocks()
|
||||
{
|
||||
if (!TryBuildScenario(out var ctx)) return;
|
||||
if (!TryBuildScenario(out var ctx)) Assert.Fail("Lane=InstalledDat requires an installed retail DAT directory; see docs/release-gate.md.");
|
||||
|
||||
PhysicsDiagnostics.ProbeResolveEnabled = true;
|
||||
PhysicsDiagnostics.ProbeBuildingEnabled = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue