SteeringTests: report the measured turn in the rotation test's failure
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5960beb3e7
commit
1458dbb676
1 changed files with 3 additions and 3 deletions
|
|
@ -151,9 +151,9 @@ public sealed class SteeringTests
|
|||
dead.Update(1f / 60f);
|
||||
}
|
||||
|
||||
Assert.True(dot(clockwise.Direction, right) > .01f);
|
||||
Assert.True(dot(counter.Direction, right) < -.01f);
|
||||
Assert.True(Angle(start, dead.Direction) < radians(.01f));
|
||||
Assert.True(dot(clockwise.Direction, right) > 1e-3f, $"clockwise {dot(clockwise.Direction, right)}");
|
||||
Assert.True(dot(counter.Direction, right) < -1e-3f, $"counter {dot(counter.Direction, right)}");
|
||||
Assert.True(Angle(start, dead.Direction) < radians(.01f), $"dead {Angle(start, dead.Direction)}");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
|||
Loading…
Reference in a new issue