Skip to content

Commit

Permalink
Fix deprecation error (#3312)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored Feb 4, 2024
1 parent 1c92407 commit 04a2a55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/Combinatorics/Graph.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@
x1 = [[5,6],[7,8],[11,12]]
G1 = graph_from_edges(x1)

@test nv(G1) == 12
@test ne(G1) == 3
@test nvertices(G1) == 12
@test nedges(G1) == 3

x2 = [[11,3],[3,5],[4,5],[2,4],[2,3]]
G2 = graph_from_edges(Undirected, x2, 13)

@test nv(G2) == 13
@test ne(G2) == 5
@test nvertices(G2) == 13
@test nedges(G2) == 5

end
end

0 comments on commit 04a2a55

Please sign in to comment.