Skip to content

Commit cccd920

Browse files
authored
Update rat_in_maze.py
Fixes TheAlgorithms#9066 Backtracking/Rat Maze TheAlgorithms#9066
1 parent 671f5c2 commit cccd920

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: backtracking/rat_in_maze.py

+2
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,5 @@ def run_maze(maze: list[list[int]], i: int, j: int, solutions: list[list[int]])
116116
maze = [[0, 1, 0, 1, 1],[0, 0, 0, 0, 0],[1, 0, 1, 0, 1],[0, 0, 1, 0, 0],[1, 0, 0, 1, 0]]
117117

118118
print(solve_maze(maze))
119+
import doctest
120+
doctest.testmod()

0 commit comments

Comments
 (0)