Skip to content

Commit 3ca9a00

Browse files
authored
Fix expected output for TSP function test case
Updated expected output for travelling_salesman_brute_force function.
1 parent 1c243fc commit 3ca9a00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphs/travelling_salesman_problem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def travelling_salesman_brute_force(
8282
8383
>>> graph = {"A": [10, 20], "B": [30, 21], "C": [15, 35]}
8484
>>> travelling_salesman_brute_force(graph)
85-
(['A', 'C', 'B', 'A'], 56.35465722402587)
85+
(['A', 'B', 'C', 'A'], 56.35465722402588)
8686
"""
8787
validate_graph(graph_points)
8888

0 commit comments

Comments
 (0)