def test_board_is_win_any_move(): b = Board(row_size=3, max_row=2, solution=[1, 1, 1]) assert b.is_win() == False
def test_board_is_win_last_move_is_bad(): b = Board(row_size=3, max_row=2, solution=[1, 1, 1]) m = [1, 1, 2] b.play(m) assert b.is_win() == False