Skip to content

Commit 81fcf34

Browse files
committed
Add test model test_save_svg_figure.jl
1 parent 37c7096 commit 81fcf34

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using Test
66
@testset "Test SignalTablesInterface_CairoMakie/test" begin
77
SignalTables.usePlotPackage("CairoMakie")
88
include("$(SignalTables.path)/test/include_all.jl")
9+
include("test_save_svg_figure.jl")
910
SignalTables.usePreviousPlotPackage()
1011
end
1112

test/test_save_svg_figure.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module test_save_svg_figure
2+
3+
using SignalTables
4+
@usingPlotPackage
5+
6+
# Test the Figure operations
7+
println("\n... test SignalTablesInterface_CairoMakie/test/test_save_svg_figure.jl:\n")
8+
9+
sigTable = getSignalTableExample("OneScalarSignal")
10+
plot(sigTable, "phi", heading="sine(time)", figure=2)
11+
saveFigure(2, "test_save_svg_figure.svg")
12+
13+
end

0 commit comments

Comments
 (0)