Skip to content

Commit

Permalink
Update test_strongly_connected.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuki0824 committed Dec 9, 2024
1 parent 94ce510 commit 325f4a7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tests/digraph/test_strongly_connected.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@ def test_condensation(self):
h = graph.add_node("H")

# Add edges
graph.add_edges_from([
(a, b, "ab"),
(b, e, "be"),
(e, f, "ef"),
(d, a, "da"),
(b, c, "bc"),
(h, g, "hg"),
(f, g, "fg")
])
graph.add_edges_from(
[
(a, b, "ab"),
(b, e, "be"),
(e, f, "ef"),
(d, a, "da"),
(b, c, "bc"),
(h, g, "hg"),
(f, g, "fg"),
]
)
# a ----> b ----> e ----> f
# ^ | ^ |
# | v | v
# d <---- c h <---- g


0 comments on commit 325f4a7

Please sign in to comment.