def test_solve_puzzle(grid, n_rows, n_cols, move_string):
    test_puzzle = fp_game.Puzzle(n_rows, n_cols, grid)
    assert test_puzzle.solve_puzzle() == move_string
def test_solve_row0_tile(grid, target_col, move_string):
    test_puzzle = fp_game.Puzzle(4, 4, grid)
    assert test_puzzle.solve_row0_tile(target_col) == move_string
def test_solve_2x2(grid, move_string):
    test_puzzle = fp_game.Puzzle(4, 4, grid)
    assert test_puzzle.solve_2x2() == move_string
def test_row1_invariant(grid, target_col):
    test_puzzle = fp_game.Puzzle(4, 4, grid)
    assert test_puzzle.row1_invariant(target_col)