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 a2804e0 commit c2a7111Copy full SHA for c2a7111
pydatastructs/graphs/tests/test_adjacency_list.py
@@ -62,7 +62,7 @@ def test_adjacency_list():
62
assert g2.num_edges() == 3
63
assert g2.num_vertices() == 3
64
neighbors = g2.neighbors('v_4')
65
- assert neighbors == [v_6, v_5]
+ assert set(neighbors) == {v_6, v_5}
66
v = AdjacencyListGraphNode('v', 4, backend = Backend.CPP)
67
g2.add_vertex(v)
68
g2.add_edge('v_4', 'v', 0)
0 commit comments