Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith committed Apr 11, 2024
1 parent 7a8f56f commit 00556ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_layouts.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using Plots, Test
@testset "Plotting plots" begin
pl = @test_nowarn plot(plot(1:2), plot(1:2, size = (1_200, 400)))
@test pl[:size] == (1_200, 400)
Expand Down Expand Up @@ -25,6 +26,7 @@ end
background_color = :darkgray,
background_color_inside = :lightgray,
)
@test pl.layout.heights == [0.05Plots.pct, 0.95Plots.pct]
@test pl[:plot_title] == "My title"
@test pl[:plot_titleindex] == 5

Expand Down

0 comments on commit 00556ca

Please sign in to comment.