From abcc7ceb3aa35145eb2e4e805a73ce009ce6804f Mon Sep 17 00:00:00 2001 From: stecrotti Date: Mon, 9 Oct 2023 11:01:15 +0200 Subject: [PATCH] more tests --- test/bipartite.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/bipartite.jl b/test/bipartite.jl index 207a4ec..fc7f9be 100644 --- a/test/bipartite.jl +++ b/test/bipartite.jl @@ -13,6 +13,7 @@ using Graphs, IndexedGraphs, SparseArrays @test all(collect(neighbors(g,i)) == collect(neighbors(gb, i)) for i in vertices(g)) @test all(collect(inedges(g,i)) == collect(inedges(gb, i)) for i in vertices(g)) @test all(collect(outedges(g,i)) == collect(outedges(gb, i)) for i in vertices(g)) + @test all(has_edge(g, s, d) for (s, d) in edges(g)) @test all(degree(g, i) == length(collect(neighbors(g, i))) for i in vertices(g)) @test all(degree(g, i) == length(collect(inedges(g, i))) for i in vertices(g)) @test !is_directed(g) && !is_directed(typeof(g))