From c381939ddc32d2464013ebf66bb21e9487139fe7 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Mon, 21 Jan 2019 17:16:09 +0100
Subject: [PATCH] ENH: int comparison doesn't need that much precision

---
 Modules/Applications/AppFusion/test/CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Modules/Applications/AppFusion/test/CMakeLists.txt b/Modules/Applications/AppFusion/test/CMakeLists.txt
index 5232aa2133..d94aaf02a7 100644
--- a/Modules/Applications/AppFusion/test/CMakeLists.txt
+++ b/Modules/Applications/AppFusion/test/CMakeLists.txt
@@ -25,8 +25,8 @@ otb_test_application(NAME apTvPrBundleToPerfectSensor
                      OPTIONS -inp  ${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
                              -inxs ${INPUTDATA}/QB_Toulouse_Ortho_XS_ROI_170x230.tif
                              -elev.dem ${INPUTDATA}/DEM/srtm_directory
-                             -out ${TEMP}/apTvPrBundleToPerfectSensor.tif
-                     VALID  --compare-image ${EPSILON_7}
+                             -out ${TEMP}/apTvPrBundleToPerfectSensor.tif int16
+                     VALID  --compare-image ${EPSILON_2}
                         ${BASELINE}/apTvPrBundleToPerfectSensor.tif
                         ${TEMP}/apTvPrBundleToPerfectSensor.tif)
                       
@@ -35,7 +35,7 @@ otb_test_application(NAME apTvPrBundleToPerfectSensor_phr
                      OPTIONS -inp  ${INPUTDATA}/phr_pan.tif
                              -inxs ${INPUTDATA}/phr_xs.tif
                              -out ${TEMP}/apTvPrBundleToPerfectSensorPHR.tif int16
-                     VALID  --compare-image ${EPSILON_7}
+                     VALID  --compare-image ${EPSILON_2}
                         ${BASELINE}/apTvPrBundleToPerfectSensorPHR.tif
                         ${TEMP}/apTvPrBundleToPerfectSensorPHR.tif)
 
-- 
GitLab