Skip to content

Commit

Permalink
Merge pull request #8 from bolek117/patch-1
Browse files Browse the repository at this point in the history
Added line for better readability of nodes
  • Loading branch information
jrialland committed Dec 13, 2022
2 parents b50a2e3 + aa2ccea commit aabbe44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/basic/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ def test_bestpath(self):
the shortest path is A -> C -> D -> B with a distance of 60
"""
nodes = {'A': [('B', 100), ('C', 20)],
'C': [('D', 20)], 'D': [('B', 20)]}
'C': [('D', 20)],
'D': [('B', 20)]}

def neighbors(n):
for n1, d in nodes[n]:
Expand Down

0 comments on commit aabbe44

Please sign in to comment.