Skip to content

Commit c85d080

Browse files
Added Doctest Mode
1 parent 08d31b3 commit c85d080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

searches/astar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,4 @@ def neighbors(node: Node) -> Iterable[tuple[Node, float]]:
138138
goal: Node = (5, 5)
139139
path = astar(start, goal, neighbors, heuristic)
140140
print("Path found:", path)
141-
# Output: Path found: [(0, 0), (0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (1, 5), (2, 5), (3, 5), (4, 5), (5, 5)]
141+

0 commit comments

Comments
 (0)