def test_maze(): maze_data = """ 00S0X0 0GX000 X00X00 XX000X""" maze = Maze(maze_data) assert maze.search() == True
def test_maze_no_reahch_goal(): maze_data = """ 00S0X0 0XX000 XGXX00 XX000X""" maze = Maze(maze_data) assert maze.search() == False