BallisticFlightTests: move the shooter after Fire so a live-origin RoundAt fails

The origin-from-live-shooter hand mutant survived against a stationary shooter. Builds: yes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-09 20:56:01 +02:00
commit e56f9c8be5

View file

@ -35,6 +35,8 @@ public sealed partial class FireControlCut124Tests
var e = FireBurstRound(out var origin);
var burst = SafeAssert.OnlyShot(e.Zone);
var aim = normalize(float2(2, 1));
// The shooter moves on after the round left: the line is the one frozen at Fire, not one drawn from where it is now.
e.Shooter.Position += float3(7, 0, 3);
var start = FireControl.RoundAt(burst, burst.FireTime);
Assert.Equal(origin.x, start.x, 3);