Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennedeg committed May 4, 2024
1 parent 38b732d commit 1c7f5b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/spanningtrees/kruskal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,8 @@
g = Graph()
mst = @inferred(kruskal_mst(g))
@test isempty(mst)

g = Graph(1)
mst = @inferred(kruskal_mst(g))
@test isempty(mst)
end

0 comments on commit 1c7f5b9

Please sign in to comment.