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 authored Dec 15, 2024
1 parent 7946483 commit 57dc3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/digraph/test_strongly_connected.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ def test_condensation(self):
self.assertTrue(set(scc1) == {"e", "f", "g", "h"} or set(scc2) == {"e", "f", "g", "h"})

# エッジの内容を確認
source, target, weight = *condensed_graph.edge_list()[0], condensed_graph.edges()[0]
weight = condensed_graph.edges()[0]
self.assertIn("b->e", weight) # 縮約後のグラフにおいて、正しいエッジが残っていることを確認

0 comments on commit 57dc3fe

Please sign in to comment.