From 5a2f44db94d9a3142b80d23fbd047aee0f23b8b6 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 10 Oct 2026 15:43:52 +0200 Subject: [PATCH] ThrottleLockTests: a full stick is the hull's whole forward thrust Hand mutant move-clamped (forward intent capped at .9) survived the .5 bounds. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/ThrottleLockTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Aetheria.Shared.Tests/ThrottleLockTests.cs b/tests/Aetheria.Shared.Tests/ThrottleLockTests.cs index cbb1d1a0a..7168b54fa 100644 --- a/tests/Aetheria.Shared.Tests/ThrottleLockTests.cs +++ b/tests/Aetheria.Shared.Tests/ThrottleLockTests.cs @@ -118,7 +118,7 @@ public sealed class ThrottleLockTests : IDisposable ship.Ship.Update(dt); twin.Ship.Update(dt); Assert.True(Apart(Axes(ship), Axes(twin)) < 1e-6f, "the ship's throttles differ from its full-forward twin's"); - Assert.True(twin.Forward.Axis > .5f, "fixture: the twin's forward drive is firing"); + Assert.True(twin.Forward.Axis > .98f, "fixture: the twin's forward drive is at full"); } // Spec ALockedThrottleIgnoresIntent. Mutation: read MovementDirection in place of move in Ship.Update and a locked @@ -198,7 +198,7 @@ public sealed class ThrottleLockTests : IDisposable Assert.All(f.Right, t => Assert.True(t.Axis < 1e-6f)); var forward = Fly(float2(0, 1)); - Assert.True(f.Forward.Axis > .5f); + Assert.True(f.Forward.Axis > .98f, "a full stick asks for the hull's whole forward thrust"); Assert.True(f.Reverse.Axis < 1e-6f); // The stick's length is the fraction of the hull's forward thrust asked for, and no stick asks for nothing.