Skip to content

Commit 4a6fbde

Browse files
author
Ajmera, Mahita SI/HZR-IDSA
committed
editing doctest
1 parent 650f3cf commit 4a6fbde

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

graphs/graphs_floyd_warshall.py

+6
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ def floyd_warshall(graph, v):
5050
... ]
5151
>>> dist, _ = floyd_warshall(graph, num_vertices)
5252
>>> dist == expected
53+
54+
The shortest path matrix using Floyd Warshall algorithm
55+
56+
0 2 INF
57+
1 0 INF
58+
INF INF 0
5359
True
5460
"""
5561

0 commit comments

Comments
 (0)