Skip to content

Commit

Permalink
Modify the judgment logic
Browse files Browse the repository at this point in the history
  • Loading branch information
weilycoder committed Oct 10, 2024
1 parent c92f60d commit c70fa17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyaron/tests/graph_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_repeated_edges(self):

for _ in range(10):
graph = Graph.graph(graph_size, int(graph_size*2), repeated_edges=False)
edges = list(graph.iterate_edges())
edges = [(e.start, e.end) for e in graph.iterate_edges()]
self.assertEqual(len(edges), len(set(edges)))

def test_tree_connected(self):
Expand Down

0 comments on commit c70fa17

Please sign in to comment.