Skip to content

Commit

Permalink
Merge pull request #143 from weilycoder/dev2
Browse files Browse the repository at this point in the history
Modify the judgment logic.
  • Loading branch information
Mr-Python-in-China authored Oct 19, 2024
2 parents 036d097 + c70fa17 commit c972b64
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 c972b64

Please sign in to comment.