Boss refusal tests: a mismatch prints both zones and the log
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
66510b003f
commit
820ec73f76
1 changed files with 3 additions and 1 deletions
|
|
@ -663,7 +663,9 @@ public sealed partial class RunStartTests
|
|||
bare.BossZones.Clear();
|
||||
var bareItems = LoggingItems(new List<string>());
|
||||
var barePack = BossZonePack(bare, bareItems, bare.Exit);
|
||||
Assert.Equal($"{bossFaction}\n{ZoneFacts(bareItems, barePack)}", $"{bossFaction}\n{ZoneFacts(items, pack)}");
|
||||
var expected = ZoneFacts(bareItems, barePack);
|
||||
var actual = ZoneFacts(items, pack);
|
||||
Assert.True(expected == actual, $"{bossFaction}: the zone with an unbuildable boss differs from the zone with none.\nno boss:\n{expected}\nunbuildable boss:\n{actual}\nlog: {string.Join(" / ", log)}");
|
||||
}
|
||||
|
||||
private IEnumerable<string> AllFactionNames() => DemoGalaxy(1).Factions.Select(faction => faction.Name).OrderBy(name => name, StringComparer.Ordinal);
|
||||
|
|
|
|||
Loading…
Reference in a new issue