From 14f4edb429bfea126aa215eeb0aaf7d1ebbae5b0 Mon Sep 17 00:00:00 2001 From: mpech Date: Fri, 8 Jul 2011 14:19:23 +0200 Subject: [PATCH] tests for clitkGet* --- tests/tools/CMakeLists.txt | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/tests/tools/CMakeLists.txt b/tests/tools/CMakeLists.txt index b79dab4..f1b9a7b 100644 --- a/tests/tools/CMakeLists.txt +++ b/tests/tools/CMakeLists.txt @@ -26,11 +26,28 @@ SET(exe ${EXECUTABLE_OUTPUT_PATH}/toolTestRunner) SET(p ${CLITK_TEST_DATA_PATH}) #========================================================= # clitkImageInfo -ADD_TEST(clitkImageInfo_1 ${exe} clitkImageInfo ${p}Deformation4D.mhd ${p}Deformation4D_ref.info) -ADD_TEST(clitkImageInfo_2 ${exe} clitkImageInfo ${p}Lung3D.mhd ${p}Lung3D_ref.info) +ADD_TEST(clitkImageInfo_1 ${exe} clitkImageInfo ${p}Deformation4D.mhd ${p}Deformation4D_ref.info) +ADD_TEST(clitkImageInfo_2 ${exe} clitkImageInfo ${p}Lung3D.mhd ${p}Lung3D_ref.info) #========================================================= # clitkGetSpacing -ADD_TEST(clitkGetSpacing_1 ${exe} clitkGetSpacing ${p}Deformation4D.mhd ${p}Deformation4D_ref.spacing) -ADD_TEST(clitkGetSpacing_2 ${exe} clitkGetSpacing ${p}Lung3D.mhd ${p}Deformation4D_ref.spacing) +ADD_TEST(clitkGetSpacing_1 ${exe} clitkGetSpacing -i ${p}Deformation4D.mhd ${p}Deformation4D_ref.spacing) +ADD_TEST(clitkGetSpacing_2 ${exe} clitkGetSpacing -i ${p}Lung3D.mhd ${p}Lung3D_ref.spacing) +#========================================================= +# clitkGetOrigin +ADD_TEST(clitkGetOrigin_1 ${exe} clitkGetOrigin -i ${p}Deformation4D.mhd ${p}Deformation4D_ref.origin) +ADD_TEST(clitkGetOrigin_2 ${exe} clitkGetOrigin -i ${p}Lung3D.mhd ${p}Lung3D_ref.origin) +#========================================================= +# clitkGetSize +ADD_TEST(clitkGetSize_1 ${exe} clitkGetSize -i ${p}Deformation4D.mhd ${p}Deformation4D_ref.size) +ADD_TEST(clitkGetSize_2 ${exe} clitkGetSize -i ${p}Lung3D.mhd ${p}Lung3D_ref.size) +#========================================================= +# clitkGetDirection +ADD_TEST(clitkGetDirection_1 ${exe} clitkGetDirection -i ${p}Deformation4D.mhd ${p}Deformation4D_ref.direction) +ADD_TEST(clitkGetDirection_2 ${exe} clitkGetDirection -i ${p}Lung3D.mhd ${p}Lung3D_ref.direction) + + + + + UNSET(exe) UNSET(p) \ No newline at end of file -- 2.47.1