From 9315a0019d5d22eeda1837bf1ecdadb458b80ae1 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 16 Oct 2026 22:57:44 +0200 Subject: [PATCH] FireControlPerWeaponTests: the turret threshold is pinned half a hundredth either side of the price Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/FireControlPerWeaponTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Aetheria.Shared.Tests/FireControlPerWeaponTests.cs b/tests/Aetheria.Shared.Tests/FireControlPerWeaponTests.cs index 70b7d729a..21cde60cb 100644 --- a/tests/Aetheria.Shared.Tests/FireControlPerWeaponTests.cs +++ b/tests/Aetheria.Shared.Tests/FireControlPerWeaponTests.cs @@ -331,11 +331,11 @@ public sealed class FireControlPerWeaponTests : IDisposable Assert.Equal(fires, r.Gun.Weapon.Firing); } - // The same threshold a hundredth either side of the shot's price. Kills: the turret's threshold loosened or + // The same threshold half a hundredth either side of the shot's price. Kills: the turret's threshold loosened or // tightened by a tenth or a hundredth. [Theory] - [InlineData(.01f, false)] - [InlineData(-.01f, true)] + [InlineData(.005f, false)] + [InlineData(-.005f, true)] public void ATurretHoldsAShotJustUnderTheThresholdAndTakesOneJustOver(float thresholdAbovePrice, bool fires) { var probe = Build(accuracy: .5f, minHit: 0f, turret: true);