CommodityRecordsTests: the compound commodity count follows the batch (51 to 63)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-10-23 17:29:50 +02:00
commit d5c0063b7e

View file

@ -14,7 +14,7 @@ public sealed class CommodityRecordsTests
{
using var cache = RestoredHullsTests.OpenCatalog();
Assert.Equal(22, cache.GetAll<SimpleCommodityData>().Count());
Assert.Equal(51, cache.GetAll<CompoundCommodityData>().Count());
Assert.Equal(63, cache.GetAll<CompoundCommodityData>().Count());
Assert.Contains(cache.GetAll<SimpleCommodityData>(), c => c.Name == "Ammo");
Assert.All(cache.GetAll<CompoundCommodityData>(), c => Assert.False(string.IsNullOrEmpty(c.Name)));
}