SmokeRoundsScenarioTests: the kill check names its numbers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-12 03:40:03 +02:00
commit 5d5bdc25f8

View file

@ -64,7 +64,7 @@ public sealed partial class RunStartTests
Assert.True(length((fragile.Position - player.Position).xz) <= directWeapon.Range, "the fragile hull lies beyond the direct weapon's range");
var magazine = direct.Data.Behaviors.OfType<WeaponData>().Single().MagazineSize;
Assert.True(magazine > 0 && directWeapon.Damage * magazine > ((HullData) _items.GetData(fragile.Hull)).Durability,
"the direct weapon cannot kill the fragile hull from its magazine");
$"the direct weapon cannot kill the fragile hull from its magazine ({directWeapon.Damage} x {magazine})");
// Only the Longinus at mid range is hostile.
Assert.True(player.IsHostileTo(mid) && mid.IsHostileTo(player), "the mid-range hull is hostile");