From 15352b4535707f276f5b8ee448429738bd869b62 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 18 Mar 2017 12:30:32 +0200 Subject: [PATCH] Increase epsilon used in release testing New snapshot-rev4.json uses worse precision than the previous snapshot, so tests will fail unless the epsilon is increased. --- t/Convert-Color-HSLuv.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Convert-Color-HSLuv.t b/t/Convert-Color-HSLuv.t index 80f13a3..93f939c 100644 --- a/t/Convert-Color-HSLuv.t +++ b/t/Convert-Color-HSLuv.t @@ -6,7 +6,7 @@ use warnings; use Convert::Color::RGB8; use Test::More tests => 7 * ($ENV{RELEASE_TESTING} ? 4096 : 512); -use constant EPSILON => $ENV{RELEASE_TESTING} ? 1e-11 : 2e-4; +use constant EPSILON => $ENV{RELEASE_TESTING} ? 1e-8 : 2e-4; my @spaces = qw/XYZ LUV LCh HSLuv HPLuv/; sub isf { -- 2.30.2