test_ohno.py 223 B

12345678
  1. from sandbox import ohno
  2. def test_simple():
  3. board = ohno.Board(4)
  4. board.set_initial([[-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1]])
  5. solved = board.solve()
  6. assert len(solved) == 1