diff --git a/tests/Aetheria.Shared.Tests/CommodityRecordsTests.cs b/tests/Aetheria.Shared.Tests/CommodityRecordsTests.cs index 44fc6afaa..4579fdc5d 100644 --- a/tests/Aetheria.Shared.Tests/CommodityRecordsTests.cs +++ b/tests/Aetheria.Shared.Tests/CommodityRecordsTests.cs @@ -14,7 +14,7 @@ public sealed class CommodityRecordsTests { using var cache = RestoredHullsTests.OpenCatalog(); Assert.Equal(50, cache.GetAll().Count()); - Assert.Equal(63, cache.GetAll().Count()); + Assert.Equal(67, cache.GetAll().Count()); Assert.Contains(cache.GetAll(), c => c.Name == "Ammo"); Assert.All(cache.GetAll(), c => Assert.False(string.IsNullOrEmpty(c.Name))); } diff --git a/tests/Aetheria.Shared.Tests/EvasionTrackingTests.cs b/tests/Aetheria.Shared.Tests/EvasionTrackingTests.cs index bda7eb1ea..06550e9f0 100644 --- a/tests/Aetheria.Shared.Tests/EvasionTrackingTests.cs +++ b/tests/Aetheria.Shared.Tests/EvasionTrackingTests.cs @@ -356,6 +356,8 @@ public sealed partial class RunStartTests // Data check: the authored numbers of the three designs, read from the shipped catalog through the production load path // (addenda "Catalog growth: generic designs, branded products", the Derivation of the PD stats). Each is a lever the // operator tunes, so each is pinned; the ammunition is the commodity Autocannon's rounds are. + // The Point Defense Gun and Flak Gun prices are what their chains derive (MunitionsBills; L-price holds them to it), so a retune of the + // parts moves them and this pin with them. [Fact] public void PdGearStatsAreAuthored() { @@ -365,11 +367,11 @@ public sealed partial class RunStartTests (float min, float max) velocity, (float min, float max) energy, (float min, float max) heat, (float min, float max) visibility, bool ammo, int magazine, float reload)[] { - ("Point Defense Gun", 40f, 800, 60f, WeaponModifiers.RapidFire, (1.5f, 4f), (1f, 1f), (300f, 550f), (.06f, .025f), (1f, .3f), + ("Point Defense Gun", 40f, 4890, 60f, WeaponModifiers.RapidFire, (1.5f, 4f), (1f, 1f), (300f, 550f), (.06f, .025f), (1f, .3f), (1100f, 1600f), (.4f, .2f), (40f, 15f), (400f, 150f), true, 250, 3f), ("Point Defense Laser", 30f, 1100, 30f, PdDesign("Light Laser").WeaponModifiers, (5f, 12f), (1f, 1f), (400f, 750f), (.2f, .1f), (.05f, 0f), (0f, 0f), (6f, 10f), (300f, 150f), (300f, 100f), false, PdDesign("Light Laser").Behaviors.OfType().Single().MagazineSize, PdDesign("Light Laser").Behaviors.OfType().Single().ReloadTime), - ("Flak Gun", 120f, 1800, 80f, WeaponModifiers.Cluster, (30f, 70f), (6f, 8f), (350f, 800f), (.6f, .35f), (4f, 2f), + ("Flak Gun", 120f, 6022, 80f, WeaponModifiers.Cluster, (30f, 70f), (6f, 8f), (350f, 800f), (.6f, .35f), (4f, 2f), (900f, 1300f), (1f, .5f), (300f, 150f), (800f, 300f), true, 40, 4f), }; foreach (var e in expected)