Skip to content

Commit

Permalink
omit plot rendering tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guyvdbroeck committed Feb 22, 2022
1 parent 6a10d18 commit afae957
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ DirectedAcyclicGraphs = "1e6dae5e-d6e2-422d-9af3-452e7a3785ee"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
Jive = "ba5e3d4b-8524-549f-bc71-e76ad9e9deed"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TikzPictures = "37f6aa50-8035-52d0-81c2-5a1d08754b2d"
9 changes: 5 additions & 4 deletions test/io/plot_tests.jl
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
using Test, ProbabilisticCircuits
using TikzPictures
# using TikzPictures

include("../helper/plain_dummy_circuits.jl")

@testset "PC plotting" begin

mktempdir() do tmp

# Note: omitting rendering tests to speed up CI

pc = little_3var()
p = @test_nowarn plot(pc)
@test_nowarn save(SVG("$tmp/example1.svg"), p)
# @test_nowarn save(SVG("$tmp/example1.svg"), p)

pc = little_3var_categorical()
p = @test_nowarn plot(pc)
@test_nowarn save(SVG("$tmp/example2.svg"), p)
# @test_nowarn save(SVG("$tmp/example2.svg"), p)

pc = little_hybrid_circuit()
p = @test_nowarn plot(pc)
@test_nowarn save(SVG("$tmp/example3.svg"), p)
# @test_nowarn save(SVG("$tmp/example3.svg"), p)

end
end
Expand Down

0 comments on commit afae957

Please sign in to comment.