We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab6c03a commit 63e0c2eCopy full SHA for 63e0c2e
tests/test_data_structure.py
@@ -147,7 +147,7 @@ def test_topological_sort(self):
147
self.assertEqual(ans, expectedResult)
148
149
def test_cycle_in_directed_graph(self):
150
- myGraph = graph.CheckCycleDirected()
+ myGraph = graph.CheckCycleDirectedGraph()
151
myGraph.add_edge(0, 1)
152
myGraph.add_edge(0, 2)
153
myGraph.add_edge(1, 2)
@@ -158,7 +158,7 @@ def test_cycle_in_directed_graph(self):
158
self.assertTrue(myGraph.check_cycle())
159
160
def test_cycle_in_undirected_graph(self):
161
- myGraph = graph.CheckCycleUndirected()
+ myGraph = graph.CheckCycleUndirectedGraph()
162
163
164
0 commit comments