Advertisement
Cinestra

Test Cases I'll save for later

Mar 31st, 2023
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. assert(pathExists(maze1, 10, 10, 8, 6, 1, 1));
  2. assert(!pathExists(maze2, 10, 10, 8, 6, 1, 1));
  3. assert(pathExists(maze3, 10, 10, 4, 3, 7, 1));
  4. assert(!pathExists(maze4, 10, 10, 4, 3, 7, 1));
  5.  
  6. printMaze(maze1, 10, 10);
  7. printMaze(maze2, 10, 10);
  8.  
  9. pathExists(maze5, 6, 6, 3, 2, 1, 2);
  10. findDirections(maze5, 6, 3, 2, 3, 1, 2);
  11. printMaze(maze5, 6, 6);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement