From 9b1ac4802784bc350ba0754d76ae5ba6a669ad53 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 16 Oct 2026 17:29:20 +0200 Subject: [PATCH] ConsumableAiTests: assert the fixture carries what it stored --- tests/Aetheria.Shared.Tests/ConsumableAiTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Aetheria.Shared.Tests/ConsumableAiTests.cs b/tests/Aetheria.Shared.Tests/ConsumableAiTests.cs index c19375b19..9117e7d91 100644 --- a/tests/Aetheria.Shared.Tests/ConsumableAiTests.cs +++ b/tests/Aetheria.Shared.Tests/ConsumableAiTests.cs @@ -166,6 +166,8 @@ public sealed class ConsumableAiTests : IDisposable if (carryOverdrive) scene.Store(scene.Overdrive); if (carryDecoy) scene.Store(scene.Decoy); for (var i = 0; i < stackableVents; i++) scene.Store(scene.StackableVent); + Assert.True(scene.Carried == (carryVent ? 1 : 0) + (carryOverdrive ? 1 : 0) + (carryDecoy ? 1 : 0) + stackableVents, + $"carried {scene.Carried}, cargo entries {scene.Hold.Cargo.Count}: {string.Join(",", scene.Hold.Cargo.Keys.Select(k => k.GetType().Name))}"); // The agent is driven by a Minion added by hand; the locker is a gun ship nobody pilots. zone.Admit(scene.Agent, piloted: false);