Boss gate tests: the no-boss exit zone is unpacked with the items that generated it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c8d40eaf74
commit
2a5fc00bcd
1 changed files with 3 additions and 2 deletions
|
|
@ -189,10 +189,11 @@ public sealed partial class RunStartTests
|
|||
var galaxy = DemoGalaxy(1);
|
||||
galaxy.BossZones.Clear();
|
||||
var log = new List<string>();
|
||||
var pack = BossZonePack(galaxy, LoggingItems(log), galaxy.Exit);
|
||||
var items = LoggingItems(log);
|
||||
var pack = BossZonePack(galaxy, items, galaxy.Exit);
|
||||
Assert.False(pack.BossSpawned);
|
||||
Assert.Contains(log, line => line.Contains("Galaxy.Exit") && line.Contains("exit-without-boss"));
|
||||
var exit = new Zone(_items, _planetSettings, pack, galaxy.Exit, galaxy);
|
||||
var exit = new Zone(items, _planetSettings, pack, galaxy.Exit, galaxy);
|
||||
Assert.False(RunGoal.ExitOpen(exit));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue