Release v0.1.4 2026-07-12
This commit is contained in:
@@ -27,11 +27,11 @@ describe("roguelike progression", () => {
|
||||
|
||||
it("selects a distinct pair that excludes both bosses from the prior round", () => {
|
||||
const values = [0, 0];
|
||||
const pair = selectRandomBossPair(["bulldrome", "vexa"], () => values.shift() ?? 0);
|
||||
const pair = selectRandomBossPair(["bulldrome", "broodfang-spider"], () => values.shift() ?? 0);
|
||||
|
||||
expect(pair).toEqual(["cindermaw", "ember-mantis-duelist"]);
|
||||
expect(pair).toEqual(["sandglass-scorpion", "cragclaw-crab"]);
|
||||
expect(new Set(pair)).toHaveLength(2);
|
||||
expect(pair).not.toContain("bulldrome");
|
||||
expect(pair).not.toContain("vexa");
|
||||
expect(pair).not.toContain("broodfang-spider");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user