ThrustAllocationTests: fix the diagnostic string (does not build the previous commit)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
158aeecf70
commit
7378c8f1a8
1 changed files with 1 additions and 2 deletions
|
|
@ -132,8 +132,7 @@ public sealed partial class RunStartTests
|
|||
for (var seg = 0; seg < 10; seg++)
|
||||
{
|
||||
drift += AllocFly(ship, 60);
|
||||
log += $"
|
||||
{seg}: {drift:F3} " + string.Join(" ", ship.GetBehaviors<Thruster>().Select(d => $"[{d.Item.EquippableItem.Rotation} {(d.Item.Active.Value ? "on" : "OFF")} {d.Thrust:F0}/{d.Axis:F4} t{d.Item.Temperature:F0}]"));
|
||||
log += $" || {seg}: {drift:F3} " + string.Join(" ", ship.GetBehaviors<Thruster>().Select(d => $"[{d.Item.EquippableItem.Rotation} {(d.Item.Active.Value ? "on" : "OFF")} {d.Thrust:F0}/{d.Axis:F4} t{d.Item.Temperature:F0}]"));
|
||||
}
|
||||
Assert.True(abs(drift) < .05f, log);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue