test: remove vacuous diagnostic assertions
This commit is contained in:
parent
5fa9933636
commit
ea17bc8624
5 changed files with 151 additions and 28 deletions
|
|
@ -292,6 +292,7 @@ public class CellarUpTrajectoryReplayTests : IDisposable
|
|||
/// what the harness is actually doing.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
[Trait("Purpose", "Diagnostic")]
|
||||
public void Harness_DiagnosticDump_FirstTenTicks()
|
||||
{
|
||||
PhysicsDiagnostics.ProbeResolveEnabled = true;
|
||||
|
|
@ -308,11 +309,7 @@ public class CellarUpTrajectoryReplayTests : IDisposable
|
|||
string.Join("\n ", trajectory.Select(p =>
|
||||
$"tick={p.Tick} pos=({p.Position.X:F4},{p.Position.Y:F4},{p.Position.Z:F4}) " +
|
||||
$"cell=0x{p.CellId:X8} onGround={p.IsOnGround} cpValid={p.CpValid}"));
|
||||
|
||||
// Always pass — this is a diagnostic test; the probe
|
||||
// output appears in the test runner's captured stdout
|
||||
// and the trajectory in the assertion message on failure.
|
||||
Assert.True(true, msg);
|
||||
Console.WriteLine(msg);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
@ -330,6 +327,7 @@ public class CellarUpTrajectoryReplayTests : IDisposable
|
|||
/// the cellar floor.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
[Trait("Purpose", "Diagnostic")]
|
||||
public void Harness_DiagnosticDump_NoBodySeed()
|
||||
{
|
||||
PhysicsDiagnostics.ProbeResolveEnabled = true;
|
||||
|
|
@ -368,8 +366,7 @@ public class CellarUpTrajectoryReplayTests : IDisposable
|
|||
string.Join("\n ", trajectory.Select(p =>
|
||||
$"tick={p.Tick} pos=({p.Position.X:F4},{p.Position.Y:F4},{p.Position.Z:F4}) " +
|
||||
$"onGround={p.IsOnGround}"));
|
||||
|
||||
Assert.True(true, msg);
|
||||
Console.WriteLine(msg);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue