From cff4e0ffa7599e98d691586e1f5d871b4d2dfcac Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 8 Oct 2026 21:01:27 +0200 Subject: [PATCH] Sim speed: the exact-step frame stays under the hitch clamp Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/SimClockTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Aetheria.Shared.Tests/SimClockTests.cs b/tests/Aetheria.Shared.Tests/SimClockTests.cs index bc5bdd539..3a8f72fbd 100644 --- a/tests/Aetheria.Shared.Tests/SimClockTests.cs +++ b/tests/Aetheria.Shared.Tests/SimClockTests.cs @@ -59,8 +59,8 @@ public sealed class SimClockTests Assert.InRange(clock.Steps, Math.Round(elapsed * 60) - 1, Math.Round(elapsed * 60) + 1); // A frame that pays for exactly one step runs it (binary-exact seconds, so nothing rounds). - var exact = new SimClock(.25f, 4); - Assert.Equal(1, exact.Advance(.25f, _ => { })); + var exact = new SimClock(.25f, 16); + Assert.Equal(1, exact.Advance(.0625f, _ => { })); Assert.Equal(0f, exact.Lead); var slow = new SimClock(1f / 60f, 30);