From 71af8b686fd1b5b8b05f892548049fb55037bd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20Hoffimann?= Date: Mon, 8 Oct 2018 13:33:54 -0300 Subject: [PATCH] Increase tolerance in visual regression tests --- test/mean_excess.jl | 2 +- test/pareto_quantile.jl | 2 +- test/return_levels.jl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/mean_excess.jl b/test/mean_excess.jl index ba5bfc4..15a4e3e 100644 --- a/test/mean_excess.jl +++ b/test/mean_excess.jl @@ -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 diff --git a/test/pareto_quantile.jl b/test/pareto_quantile.jl index c6aac24..3b0ad78 100644 --- a/test/pareto_quantile.jl +++ b/test/pareto_quantile.jl @@ -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 diff --git a/test/return_levels.jl b/test/return_levels.jl index 8388ace..8abb93d 100644 --- a/test/return_levels.jl +++ b/test/return_levels.jl @@ -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