Plots.jl/test/test_pgfplotsx.jl
Simon Christ 1e2ea1614c add tests
2019-11-18 17:16:27 +01:00

14 lines
314 B
Julia

using Plots, Test
pgfplotsx()
function create_plot( args...; kwargs... )
pgfx_plot = plot(args..., kwargs...)
return pgfx_plot, repr("application/x-tex", pgfx_plot)
end
@testset "PGFPlotsX" begin
pgfx_plot, pgfx_tex = create_plot(1:5)
@test pgfx_plot.o isa PGFPlotsX.GroupPlot
end # testset