From 8415ab1979ed481b903d225161afe5bdeffd8c4f Mon Sep 17 00:00:00 2001 From: Aurelien Bricier <aurelien.bricier@c-s.fr> Date: Tue, 26 Oct 2010 14:26:09 +0200 Subject: [PATCH] TEST: enhanced tests for BCOInterpolateImageFunction --- Testing/Code/BasicFilters/CMakeLists.txt | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Testing/Code/BasicFilters/CMakeLists.txt b/Testing/Code/BasicFilters/CMakeLists.txt index e74522db97..b6902af96d 100644 --- a/Testing/Code/BasicFilters/CMakeLists.txt +++ b/Testing/Code/BasicFilters/CMakeLists.txt @@ -742,9 +742,12 @@ ADD_TEST(bfTuBCOInterpolateImageFunctionNew ${BASICFILTERS_TESTS6} ) ADD_TEST(bfTvBCOInterpolateImageFunction ${BASICFILTERS_TESTS6} +--compare-ascii ${NOTOL} + ${BASELINE_FILES}/bfTvBCOInterpolateImageFunctionOutput.txt + ${TEMP}/bfTvBCOInterpolateImageFunctionOutput.txt otbBCOInterpolateImageFunction ${INPUTDATA}/poupees.tif - ${TEMP}/bfBCOInterpolateImageFunctionOutput.txt + ${TEMP}/bfTvBCOInterpolateImageFunctionOutput.txt 3 # radius -0.5 # optimised bicubic 0.5 0.5 @@ -761,9 +764,12 @@ ADD_TEST(bfTuBCOInterpolateImageFunctionOverVectorImageNew ${BASICFILTERS_TESTS6 otbBCOInterpolateImageFunctionOverVectorImageNew) ADD_TEST(bfTvBCOInterpolateImageFunctionOverVectorImage ${BASICFILTERS_TESTS6} +--compare-ascii ${NOTOL} + ${BASELINE_FILES}/bfTvBCOInterpolateImageFunctionOverVectorImageOutput.txt + ${TEMP}/bfTvBCOInterpolateImageFunctionOverVectorImageOutput.txt otbBCOInterpolateImageFunctionOverVectorImage ${INPUTDATA}/poupees.tif - ${TEMP}/bfBCOInterpolateImageFunctionOverVectorImageOutput.txt + ${TEMP}/bfTvBCOInterpolateImageFunctionOverVectorImageOutput.txt 3 # radius -0.5 # optimised bicubic 0.5 0.5 @@ -777,17 +783,23 @@ ADD_TEST(bfTvBCOInterpolateImageFunctionOverVectorImage ${BASICFILTERS_TESTS6} ) ADD_TEST(bfTvBCOInterpolateImageFunctionTest ${BASICFILTERS_TESTS6} +--compare-image ${EPSILON_7} + ${BASELINE}/bfTvBCOInterpolateImageFunctionTest.tif + ${TEMP}/bfTvBCOInterpolateImageFunctionTest.tif otbBCOInterpolateImageFunctionTest ${INPUTDATA}/poupees.tif - ${TEMP}/bfBCOInterpolateImageFunctionTest.tif + ${TEMP}/bfTvBCOInterpolateImageFunctionTest.tif 3 # radius -0.5 # optimised bicubic ) ADD_TEST(bfTvBCOInterpolateImageFunctionVectorImageTest ${BASICFILTERS_TESTS6} +--compare-image ${EPSILON_7} + ${BASELINE}/bfTvBCOInterpolateImageFunctionVectorImageTest.tif + ${TEMP}/bfTvBCOInterpolateImageFunctionVectorImageTest.tif otbBCOInterpolateImageFunctionVectorImageTest ${INPUTDATA}/poupees.tif - ${TEMP}/bfBCOInterpolateImageFunctionVectorImageTest.tif + ${TEMP}/bfTvBCOInterpolateImageFunctionVectorImageTest.tif 4 # radius -0.5 # optimised bicubic ) -- GitLab