From ff254b0269aab1bd2ba96709c831297be46b5af6 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 6 Oct 2026 20:43:39 +0200 Subject: [PATCH] Demo Terminus tests: a release build lists only the demo; the tutorial and main galaxy are development modes Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/DemoTerminusTests.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/Aetheria.Shared.Tests/DemoTerminusTests.cs b/tests/Aetheria.Shared.Tests/DemoTerminusTests.cs index 667121211..01d950505 100644 --- a/tests/Aetheria.Shared.Tests/DemoTerminusTests.cs +++ b/tests/Aetheria.Shared.Tests/DemoTerminusTests.cs @@ -128,6 +128,15 @@ public sealed partial class RunStartTests Assert.Contains(field, refusal.Message); } + // What a release build lists under New Game is the demo alone; the tutorial and the main galaxy are listed only in + // editor and development builds (MainMenu.ShowScenarios), beside the test arenas. + [Fact] + public void ReleaseBuildsListOnlyTheDemo() + { + Assert.Equal(new[] { typeof(DemoTerminus) }, Scenarios.Modes.Select(scenario => scenario.GetType())); + Assert.Equal(new[] { typeof(TutorialGalaxy), typeof(MainGalaxy) }, Scenarios.Development.Select(scenario => scenario.GetType())); + } + // The tutorial is the galaxy it was before the demo: its cast, homes, entrance and ownership at a fixed seed, with // no exit and no boss zone. [Fact]