Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mtfishman and github-actions[bot] authored Apr 17, 2024
1 parent 0d6299f commit ab1bc17
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -342,14 +342,13 @@ using DataGraphs: is_arranged
@test ps.pathcounts == dictionary([1 => 1.0, 2 => 1.0, 3 => 1.0, 4 => 1.0])
end
@testset "GraphsFlows.mincut (vertextype=$(eltype(verts))" for verts in (
[1, 2, 3, 4],
["A", "B", "C", "D"],
)
g = DataGraph(NamedGraph(path_graph(4), verts))
part1, part2, flow = GraphsFlows.mincut(g, verts[1], verts[4])
@test verts[1] part1
@test verts[4] part2
@test flow == 1
[1, 2, 3, 4], ["A", "B", "C", "D"]
)
g = DataGraph(NamedGraph(path_graph(4), verts))
part1, part2, flow = GraphsFlows.mincut(g, verts[1], verts[4])
@test verts[1] part1
@test verts[4] part2
@test flow == 1
end
end
end

0 comments on commit ab1bc17

Please sign in to comment.