From: Marius Gavrilescu Date: Sat, 18 Mar 2017 10:30:32 +0000 (+0200) Subject: Increase epsilon used in release testing X-Git-Tag: 1.000001~2 X-Git-Url: http://git.ieval.ro/?p=convert-color-hsluv.git;a=commitdiff_plain;h=15352b4535707f276f5b8ee448429738bd869b62 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. --- 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 {