Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stecrotti committed Oct 9, 2023
1 parent 8cb7f53 commit abcc7ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/bipartite.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit abcc7ce

Please sign in to comment.