test: remove known tautologies and scaffolds
This commit is contained in:
parent
8e884679e0
commit
52015f5052
9 changed files with 156 additions and 61 deletions
|
|
@ -917,7 +917,9 @@ public class Issue265SteepSlopeCaptureBisectTests
|
|||
// HandleAllCollisions's OWN decision (captured before the toggle can
|
||||
// touch it) must be identical regardless of the #265/#166 fix -- the
|
||||
// fix does not change the reflection math or its inputs.
|
||||
Assert.Equal(newModelVelocityBeforeToggle.Z > 0.01f, newModelVelocityBeforeToggle.Z > 0.01f);
|
||||
Assert.Equal(
|
||||
oldModelVelocity.Z > 0.01f,
|
||||
newModelVelocityBeforeToggle.Z > 0.01f);
|
||||
|
||||
// Document (not silently assert away) whether retail's OWN ported
|
||||
// logic reflects this synthetic case. This is evidence for the
|
||||
|
|
|
|||
|
|
@ -488,16 +488,12 @@ public sealed class MotionInterpreterTests
|
|||
// links). Verified against the live retail-observer trace
|
||||
// (RetailObserverTraceConformanceTests, 183/183 dispatch conformant).
|
||||
|
||||
// R3 owns removal of the known redundant row. Keep this one historical
|
||||
// input unchanged during R2 while ensuring any new duplicate still fails.
|
||||
#pragma warning disable xUnit1025
|
||||
[Theory]
|
||||
[InlineData(MotionCommand.Fallen)]
|
||||
[InlineData(MotionCommand.Dead)]
|
||||
[InlineData(MotionCommand.Crouch)]
|
||||
[InlineData(MotionCommand.Sitting)]
|
||||
[InlineData(MotionCommand.Sleeping)]
|
||||
[InlineData(0x41000012u)] // inside the crouch range (0x41000011, 0x41000015)
|
||||
public void ContactAllowsMove_GroundedPosture_StillAllowsMove(uint postureCommand)
|
||||
{
|
||||
var body = MakeGrounded();
|
||||
|
|
@ -508,7 +504,6 @@ public sealed class MotionInterpreterTests
|
|||
|
||||
Assert.True(allowed);
|
||||
}
|
||||
#pragma warning restore xUnit1025
|
||||
|
||||
[Fact]
|
||||
public void ContactAllowsMove_AirborneCreature_AcceptsFallingAndTurns_BlocksWalk()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue