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:
parent
2b03d90812
commit
e56f9c8be5
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue