Exit_open_only_in_the_exit_zone: a failed boss build reports the log
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f235eea3d9
commit
d8afb9d184
1 changed files with 4 additions and 2 deletions
|
|
@ -440,8 +440,10 @@ public sealed partial class RunStartTests
|
|||
SetBoss(faction, MakeBossLoadout(hull, "Gate Boss"));
|
||||
var bossZone = galaxy.Zones.First(zone => zone != galaxy.Exit);
|
||||
galaxy.BossZones[faction] = bossZone;
|
||||
var zone = ZoneOf(galaxy, bossZone);
|
||||
Assert.True(zone.Pack.BossSpawned);
|
||||
var log = new List<string>();
|
||||
var items = LoggingItems(log);
|
||||
var zone = new Zone(items, _planetSettings, BossZonePack(galaxy, items, bossZone), bossZone, galaxy);
|
||||
Assert.True(zone.Pack.BossSpawned, string.Join("; ", log));
|
||||
Assert.NotEmpty(zone.Entities.Where(entity => entity.IsBoss));
|
||||
foreach (var boss in zone.Entities.Where(entity => entity.IsBoss).ToArray())
|
||||
boss.HeatstrokeDeath.OnNext(Unit.Default);
|
||||
|
|
|
|||
Loading…
Reference in a new issue