Skip to content

Commit

Permalink
Increase tolerance in visual regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Oct 8, 2018
1 parent 8cb5c64 commit 71af8b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/mean_excess.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
png(fname)
end
refimg = joinpath(datadir,"MeanExcess.png")
@test test_images(VisualTest(plot_mean_excess, refimg), popup=!istravis) |> success
@test test_images(VisualTest(plot_mean_excess, refimg), popup=!istravis, tol=0.1) |> success
end
end
end
2 changes: 1 addition & 1 deletion test/pareto_quantile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
png(fname)
end
refimg = joinpath(datadir,"ParetoQuantile.png")
@test test_images(VisualTest(plot_pareto_quantile, refimg), popup=!istravis) |> success
@test test_images(VisualTest(plot_pareto_quantile, refimg), popup=!istravis, tol=0.1) |> success
end
end
end
2 changes: 1 addition & 1 deletion test/return_levels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
png(fname)
end
refimg = joinpath(datadir,"ReturnLevels.png")
@test test_images(VisualTest(plot_return_levels, refimg), popup=!istravis) |> success
@test test_images(VisualTest(plot_return_levels, refimg), popup=!istravis, tol=0.1) |> success
end
end
end

0 comments on commit 71af8b6

Please sign in to comment.