Increase epsilon used in release testing
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 18 Mar 2017 10:30:32 +0000 (12:30 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 18 Mar 2017 10:30:32 +0000 (12:30 +0200)
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

index 80f13a3a0e9d71df363ba917b911b50b981c9f83..93f939c43e753c85f7a1e4a494566d95ac95fd49 100644 (file)
@@ -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 {
This page took 0.010932 seconds and 4 git commands to generate.