From 9b799e047cbb5f99c9cd6ca5432c14ea96708c9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <roucaries.bastien@gmail.com>
Date: Thu, 25 Dec 2014 20:20:56 +0100
Subject: [PATCH] Be a little bit fuzzy in test suite

Avoid a test failure due to 1e-6 dispersion.

Forwarded: no
---
 tests/validate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/validate.c b/tests/validate.c
index d2d9ce6..1392502 100644
--- a/tests/validate.c
+++ b/tests/validate.c
@@ -588,7 +588,7 @@ static unsigned long ValidateImageFormatsInMemory(ImageInfo *image_info,
 #endif
       if (reference_image->colorspace != RGBColorspace)
         fuzz+=0.3;
-      fuzz+=MagickEpsilon;
+      fuzz+=1e-5;
       difference_image=CompareImageChannels(reference_image,reconstruct_image,
         AllChannels,MeanSquaredErrorMetric,&distortion,exception);
       reconstruct_image=DestroyImage(reconstruct_image);
@@ -795,7 +795,7 @@ static unsigned long ValidateImageFormatsOnDisk(ImageInfo *image_info,
 #endif
       if (reference_image->colorspace != RGBColorspace)
         fuzz+=0.3;
-      fuzz+=MagickEpsilon;
+      fuzz+=1e-5;
       difference_image=CompareImageChannels(reference_image,reconstruct_image,
         AllChannels,MeanSquaredErrorMetric,&distortion,exception);
       reconstruct_image=DestroyImage(reconstruct_image);
-- 
2.1.4

