def test_that_potential_moves_for_L_are_DLUR(self): moves = solve_maze.potential_moves('L') self.assertEqual(['D', 'L', 'U', 'R'], moves)
def test_that_potential_moves_for_R_are_URDL(self): moves = solve_maze.potential_moves('R') self.assertEqual(['U', 'R', 'D', 'L'], moves)
def test_that_potential_moves_for_D_are_RDLU(self): moves = solve_maze.potential_moves('D') self.assertEqual(['R', 'D', 'L', 'U'], moves)
def test_that_potential_moves_for_U_are_LURD(self): moves = solve_maze.potential_moves('U') self.assertEqual(['L', 'U', 'R', 'D'], moves)