ShipRigTests: the Max-180 boundary joint needs one degree of reach for its 1 degree arc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
9e516d06d9
commit
562de34c4e
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ public sealed class ShipRigTests : IDisposable
|
|||
public void JointShapeAcceptsItsBoundariesAndTheUnitTolerance()
|
||||
{
|
||||
OneGun(1, (Up, -180f, 180f)).Validate();
|
||||
OneGun(1, (Up, 180f, 180f)).Validate();
|
||||
OneGun(1, (Up, 179f, 180f)).Validate();
|
||||
OneGun(1, (new[] { 0f, 1.0009f, 0f }, 0f, 5f)).Validate();
|
||||
OneGun(1, (new[] { 0f, .9991f, 0f }, 0f, 5f)).Validate();
|
||||
Assert.Contains("must be a unit vector", Refusal(OneGun(1, (new[] { 0f, 1.0015f, 0f }, 0f, 5f))));
|
||||
|
|
|
|||
Loading…
Reference in a new issue