From 8cdeba922a4890715688da4afe67be80e4471449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Sun, 4 Feb 2024 16:23:15 +0100 Subject: [PATCH] Fix deprecation error (#3312) --- test/Combinatorics/Graph.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Combinatorics/Graph.jl b/test/Combinatorics/Graph.jl index a75bd44b1695..868dfd871966 100644 --- a/test/Combinatorics/Graph.jl +++ b/test/Combinatorics/Graph.jl @@ -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