Skip to content

Commit

Permalink
update reference files
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Dec 22, 2023
1 parent 9e26053 commit e11d5b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Binary file modified test/references/heatmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/scatter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,10 @@ end
end
end

@testset "Plots as PNG images" begin
# Test disabled on linux because: https://github.com/JuliaPlots/Plots.jl/issues/2127
if !Sys.islinux()
@test_reference "references/heatmap.png" heatmap([1 0; 0 1]) by=psnr_equality(15)
@test_reference "references/scatter.png" scatter([(0,0),(1,0),(0,1),(1,1)], ms=8)
end
# Test disabled on linux because: https://github.com/JuliaPlots/Plots.jl/issues/2127
Sys.islinux() || @testset "Plots as PNG images" begin
@test_reference "references/heatmap.png" heatmap([1 0; 0 1]) by=psnr_equality(15)
@test_reference "references/scatter.png" scatter([(0,0),(1,0),(0,1),(1,1)], ms=8)
end

using DataFrames, CSVFiles
Expand Down

0 comments on commit e11d5b9

Please sign in to comment.