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 <noreply@anthropic.com>
This commit is contained in:
parent
edeec0f610
commit
ff254b0269
1 changed files with 9 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue