Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
toda5603 committed Sep 5, 2024
1 parent 3cdf12c commit 0d296b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ If the edge is present in the edge set, the method does nothing.
assert set(g.all_vertices()) == {1,2,3,4}
assert set(g.all_edges()) == {(1,4),(3,4)}
assert set(g.adj_vertices(2)) = set() # isolated vertex
assert set(g.adj_vertices(2)) == set() # isolated vertex
assert g.num_vertices() == 4
g.add_vertex(1) # vertex 1 already present and nothing done
Expand Down

0 comments on commit 0d296b5

Please sign in to comment.