UNPKG

ktane-solver

Version:
10 lines (8 loc) 321 B
import Complicated from "../complicated.js" import Bomb from "../bomb.js" test("All combinations of wire", () => { expect(Complicated.solve(["red", "white", "blue", "red white", "red blue", "white blue"], getBomb())).toEqual([]) }) function getBomb() { return new Bomb(2, true, false, false, true, 1) }