From cf453b01f3c6d7b6957da50156028cfcdc97aa13 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Wed, 14 Jan 2009 10:47:40 +0800 Subject: [PATCH] TEST: add longer test for LidarToImageExample (around 5 min) --- Examples/IO/CMakeLists.txt | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Examples/IO/CMakeLists.txt b/Examples/IO/CMakeLists.txt index 3eac84ca5a..3816f54951 100644 --- a/Examples/IO/CMakeLists.txt +++ b/Examples/IO/CMakeLists.txt @@ -142,7 +142,7 @@ ADD_TEST(ExtractROITest ${EXE_TESTS1} ADD_TEST(DEMToImageGeneratorTest ${EXE_TESTS1} --compare-image ${TOL} ${BASELINE}/DEMToImageGenerator.tif ${TEMP}/DEMToImageGenerator.tif - DEMToImageGeneratorTest + DEMToImageGeneratorTest ${TEMP}/DEMToImageGenerator.tif ${TEMP}/pretty_DEMToImageGenerator.png 6.5 @@ -150,7 +150,7 @@ ADD_TEST(DEMToImageGeneratorTest ${EXE_TESTS1} 500 500 0.002 - -0.002 + -0.002 ${INPUTDATA}/DEM_srtm ) @@ -166,6 +166,17 @@ ADD_TEST(LidarToImageExampleTest ${EXE_TESTS1} 5 4 ) +ADD_TEST(LidarToImageExample2Test ${EXE_TESTS1} +--compare-image ${TOL} ${BASELINE}/lidar-image-8.hdr + ${TEMP}/lidar-image-8.hdr + LidarToImageExampleTest + ${DATA}/TO_core_last_zoom.las + ${TEMP}/lidar-image-8.hdr + ${TEMP}/lidar-image-8.png + 1.0 + 5 + 8 + ) ENDIF(ITK_USE_REVIEW) ADD_EXECUTABLE(otbIOExamplesTests1 otbIOExamplesTests1.cxx) -- GitLab