parent
4d13d2b1a4
commit
d6f2d6e407
@ -0,0 +1,17 @@ |
|||||||
|
import t from "tap"; |
||||||
|
|
||||||
|
import { tictactoeThreeRules } from "../game-variants/tictactoe/tictactoe-three-rules.ts"; |
||||||
|
import { checkSolutionsIncomplete } from "./test-helpers.ts"; |
||||||
|
|
||||||
|
const rules = tictactoeThreeRules; |
||||||
|
|
||||||
|
void t.test("computeAllSolutions", async (t) => { |
||||||
|
// These numbers are not checked, but at least these tests will help us catch possible changes
|
||||||
|
void t.test("number of combinations for 3x4 board", async (t) => { |
||||||
|
checkSolutionsIncomplete(t, rules, 3, 4, 111973, {}); |
||||||
|
}); |
||||||
|
|
||||||
|
void t.test("number of combinations for 4x3 board", async (t) => { |
||||||
|
checkSolutionsIncomplete(t, rules, 4, 3, 111973, {}); |
||||||
|
}); |
||||||
|
}); |
Loading…
Reference in new issue