Skip to content

Commit

Permalink
Fix graphplot calls on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Apr 29, 2024
1 parent e0646ce commit 0f50dba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/integration/Makie_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@

@testset "plot!" begin
f = Figure()
@testset "(default)" plot!(f[1, 1], tn)
@testset "with labels" plot!(f[1, 1], tn; labels=true)
@testset "with sizes" plot!(f[1, 1], tn; node_size=[5, 10, 15])
@testset "with colors" plot!(f[1, 1], tn; node_color=[:red, :green, :blue])
@testset "3D" plot!(f[1, 1], tn; layout=Spring(; dim=3))
@testset "(default)" graphplot!(f[1, 1], tn)
@testset "with labels" graphplot!(f[1, 1], tn; labels=true)
@testset "with sizes" graphplot!(f[1, 1], tn; node_size=[5, 10, 15])
@testset "with colors" graphplot!(f[1, 1], tn; node_color=[:red, :green, :blue])
@testset "3D" graphplot!(f[1, 1], tn; layout=Spring(; dim=3))
end

@testset "plot" begin
@testset "(default)" plot(tn)
@testset "with labels" plot(tn; labels=true)
@testset "3D" plot(tn; layout=Spring(; dim=3))
@testset "(default)" graphplot(tn)
@testset "with labels" graphplot(tn; labels=true)
@testset "3D" graphplot(tn; layout=Spring(; dim=3))
end
end

0 comments on commit 0f50dba

Please sign in to comment.