Skip to content

Commit f673bfe

Browse files
authored
Fix docstring faliure by adding exact output
1 parent 9c64741 commit f673bfe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pydatastructs/graphs/algorithms.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ def maximum_matching(graph: Graph, algorithm: str, **kwargs) -> set:
14601460
>>> graph.add_edge('v_2', 'v_3')
14611461
>>> graph.add_edge('v_4', 'v_1')
14621462
>>> maximum_matching(graph, 'hopcroft_karp', make_undirected=True)
1463-
{('v_1', 'v_4'), ('v_3', 'v_2')}
1463+
{('v_3', 'v_2'), ('v_1', 'v_4')}
14641464
14651465
References
14661466
==========
@@ -1645,7 +1645,8 @@ def maximum_matching_parallel(graph: Graph, algorithm: str, num_threads: int, **
16451645
>>> graph.add_bidirectional_edge('v_2', 'v_3')
16461646
>>> graph.add_bidirectional_edge('v_4', 'v_1')
16471647
>>> maximum_matching_parallel(graph, 'hopcroft_karp', 1)
1648-
{('v_1', 'v_4'), ('v_3', 'v_2')}
1648+
{('v_3', 'v_2'), ('v_1', 'v_4')}
1649+
16491650
16501651
References
16511652
==========

0 commit comments

Comments
 (0)