Commit 72c7b9fe authored by Julien Malik's avatar Julien Malik
Browse files

ENH: add tolerance on tests

parent bc1aec6a
......@@ -1968,7 +1968,7 @@ ADD_TEST(bfTuHorizontalSobelVectorImageFilterNew
ADD_TEST(bfTvHorizontalSobelVectorImageFilter
${BASICFILTERS_TESTS13}
--compare-image ${NOTOL}
--compare-image ${EPSILON_7}
${BASELINE}/bfTvHorizontalSobelVectorImageFilter.tif
${TEMP}/bfTvHorizontalSobelVectorImageFilter.tif
otbHorizontalSobelVectorImageFilterTest
......@@ -1981,7 +1981,7 @@ ADD_TEST(bfTuVerticalSobelVectorImageFilterNew
ADD_TEST(bfTvVerticalSobelVectorImageFilter
${BASICFILTERS_TESTS13}
--compare-image ${NOTOL}
--compare-image ${EPSILON_7}
${BASELINE}/bfTvVerticalSobelVectorImageFilter.tif
${TEMP}/bfTvVerticalSobelVectorImageFilter.tif
otbVerticalSobelVectorImageFilterTest
......@@ -1994,7 +1994,7 @@ ADD_TEST(bfTuSobelVectorImageFilterNew
ADD_TEST(bfTvSobelVectorImageFilter
${BASICFILTERS_TESTS13}
--compare-image ${NOTOL}
--compare-image ${EPSILON_7}
${BASELINE}/bfTvSobelVectorImageFilter.tif
${TEMP}/bfTvSobelVectorImageFilter.tif
otbSobelVectorImageFilterTest
......@@ -2007,7 +2007,7 @@ ADD_TEST(bfTuLocalGradientVectorImageFilterNew
ADD_TEST(bfTvLocalGradientVectorImageFilter
${BASICFILTERS_TESTS13}
--compare-image ${NOTOL}
--compare-image ${EPSILON_7}
${BASELINE}/bfTvLocalGradientVectorImageFilter.tif
${TEMP}/bfTvLocalGradientVectorImageFilter.tif
otbLocalGradientVectorImageFilterTest
......@@ -2020,7 +2020,7 @@ ADD_TEST(bfTuLocalActivityVectorImageFilterNew
ADD_TEST(bfTvLocalActivityVectorImageFilter
${BASICFILTERS_TESTS13}
--compare-image ${NOTOL}
--compare-image ${EPSILON_7}
${BASELINE}/bfTvLocalActivityVectorImageFilter.tif
${TEMP}/bfTvLocalActivityVectorImageFilter.tif
otbLocalActivityVectorImageFilterTest
......@@ -2033,7 +2033,7 @@ ADD_TEST(bfTuNormalizeVectorImageFilter
ADD_TEST(bfTvNormalizeVectorImageFilter
${BASICFILTERS_TESTS13}
--compare-image ${NOTOL}
--compare-image ${EPSILON_7}
${BASELINE}/bfTvNormalizeVectorImageFilter.tif
${TEMP}/bfTvNormalizeVectorImageFilter.tif
otbNormalizeVectorImageFilterTest
......
......@@ -23,7 +23,7 @@ ADD_TEST(hyTuEigenvalueLikelihoodMaximizationNew
ADD_TEST(hyTvEigenvalueLikelihoodMaximizationTest
${Hyperspectral_TESTS1}
--compare-ascii ${NOTOL}
--compare-ascii ${EPSILON_9}
${BASELINE_FILES}/hyTvEigenvalueLikelihoodMaximizationTest.txt
${TEMP}/hyTvEigenvalueLikelihoodMaximizationTest.txt
otbEigenvalueLikelihoodMaximizationTest
......@@ -39,7 +39,7 @@ ADD_TEST(hyTuVCAImageFilterNew
ADD_TEST(hyTvVCAImageFilterTest1
${Hyperspectral_TESTS1}
--compare-image ${NOTOL}
--compare-image ${EPSILON_9}
${BASELINE_FILES}/hyTvVCAImageFilterTest.tif
${TEMP}/hyTvVCAImageFilterTest.tif
otbVCAImageFilterTestHighSNR
......@@ -64,7 +64,7 @@ ADD_TEST(hyTuUnConstrainedLeastSquareImageFilterNew
ADD_TEST(hyTvUnConstrainedLeastSquareImageFilterTest
${Hyperspectral_TESTS1}
--compare-image ${NOTOL}
--compare-image ${EPSILON_9}
${BASELINE_FILES}/hyTvUnConstrainedLeastSquareImageFilterTest.tif
${TEMP}/hyTvUnConstrainedLeastSquareImageFilterTest.tif
otbUnConstrainedLeastSquareImageFilterTest
......@@ -80,7 +80,7 @@ ADD_TEST(hyTuNCLSUnmixingImageFilterNew
ADD_TEST(hyTvNCLSUnmixingImageFilterTest
${Hyperspectral_TESTS1}
--compare-image ${NOTOL}
--compare-image ${EPSILON_9}
${BASELINE_FILES}/hyTvNCLSImageFilterTest.tif
${TEMP}/hyTvNCLSImageFilterTest.tif
otbNCLSUnmixingImageFilterTest
......@@ -96,7 +96,7 @@ ADD_TEST(hyTuISRAUnmixingImageFilterNew
ADD_TEST(hyTvISRAUnmixingImageFilterTest
${Hyperspectral_TESTS1}
--compare-image ${NOTOL}
--compare-image ${EPSILON_9}
${BASELINE_FILES}/hyTvISRAUnmixingImageFilterTest.tif
${TEMP}/hyTvISRAUnmixingImageFilterTest.tif
otbISRAUnmixingImageFilterTest
......@@ -112,7 +112,7 @@ ADD_TEST(hyTuFCLSUnmixingImageFilterNew
ADD_TEST(hyTvFCLSUnmixingImageFilterTest
${Hyperspectral_TESTS1}
--compare-image ${NOTOL}
--compare-image ${EPSILON_9}
${BASELINE_FILES}/hyTvFCLSUnmixingImageFilterTest.tif
${TEMP}/hyTvFCLSUnmixingImageFilterTest.tif
otbFCLSUnmixingImageFilterTest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment