From 9b7b9f573b3b54fd972b4733141aa41a6f5ffafb Mon Sep 17 00:00:00 2001 From: Alok Sharma Date: Sun, 23 Feb 2014 11:49:54 -0500 Subject: [PATCH] ENH: Increasing itkCustomColormap coverage Including a test for the custom color map operation in CMakeList file Change-Id: Ic06b460a3cf62d7de7b065c239cb0ba8533a468f --- Modules/Filtering/Colormap/test/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Modules/Filtering/Colormap/test/CMakeLists.txt b/Modules/Filtering/Colormap/test/CMakeLists.txt index f5322065649..0e557244d77 100644 --- a/Modules/Filtering/Colormap/test/CMakeLists.txt +++ b/Modules/Filtering/Colormap/test/CMakeLists.txt @@ -89,3 +89,9 @@ itk_add_test(NAME RGBColormapTest_overunder DATA{Baseline/RGBColormapTest_overunder.png} itkScalarToRGBColormapImageFilterTest DATA{Input/Colormap_Grey.png} ${ITK_TEST_OUTPUT_DIR}/RGBColormapTest_overunder.png overunder) +itk_add_test(NAME RGBColormapTest_custom + COMMAND ITKColormapTestDriver + --compare ${ITK_TEST_OUTPUT_DIR}/RGBColormapTest_custom.png + DATA{Baseline/RGBColormapTest_custom.png} + itkScalarToRGBColormapImageFilterTest + DATA{Input/Colormap_Grey.png} ${ITK_TEST_OUTPUT_DIR}/RGBColormapTest_custom.png custom)