Skip to content

Commit

Permalink
Update bfs.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar authored Jun 26, 2024
1 parent f070983 commit 9e9046a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/iterators/bfs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
@test sort(nodes_visited[4:end]) == sort(levels[2])

g = path_digraph(7)
nodes_visited = collect(BFSIterator(g, 7; neighbor_func=inneighbors))
nodes_visited = collect(BFSIterator(g, 7; neighbors_type=inneighbors))
@test nodes_visited == collect(7:-1:1)
end

0 comments on commit 9e9046a

Please sign in to comment.