Commit fd776ca9 authored by naucoin's avatar naucoin
Browse files

BUG: adding more testing for Cast, found out that Long wasn't compiled in, so...

BUG: adding more testing for Cast, found out that Long wasn't compiled in, so removing it as an option

git-svn-id: http://svn.slicer.org/Slicer4/trunk@13045 3bd1e089-480b-0410-8dfb-8563597acbee
parent e2a8367c
......@@ -45,8 +45,6 @@ This work is part of the National Alliance for Medical Image Computing (NAMIC),
<element>UnsignedShort</element>
<element>Int</element>
<element>UnsignedInt</element>
<element>Long</element>
<element>UnsignedLong</element>
<element>Float</element>
<element>Double</element>
</string-enumeration>
......
......@@ -118,7 +118,48 @@ add_test(CastTest ${Slicer3_EXE} --launch CastTest
ModuleEntryPoint --type UnsignedChar
${TEST_DATA}/CastTest.nrrd ${TEMP}/CastTest.nrrd
)
add_test(CastTestChar ${Slicer3_EXE} --launch CastTest
--compare ${BASELINE}/CastTestChar.nrrd
${TEMP}/CastTestChar.nrrd
ModuleEntryPoint --type Char
${TEST_DATA}/CastTest.nrrd ${TEMP}/CastTestChar.nrrd
)
add_test(CastTestShort ${Slicer3_EXE} --launch CastTest
--compare ${BASELINE}/CastTestShort.nrrd
${TEMP}/CastTestShort.nrrd
ModuleEntryPoint --type Short
${TEST_DATA}/CastTest.nrrd ${TEMP}/CastTestShort.nrrd
)
add_test(CastTestUnsignedShort ${Slicer3_EXE} --launch CastTest
--compare ${BASELINE}/CastTestUnsignedShort.nrrd
${TEMP}/CastTestUnsignedShort.nrrd
ModuleEntryPoint --type UnsignedShort
${TEST_DATA}/CastTest.nrrd ${TEMP}/CastTestUnsignedShort.nrrd
)
add_test(CastTestInt ${Slicer3_EXE} --launch CastTest
--compare ${BASELINE}/CastTestInt.nrrd
${TEMP}/CastTestInt.nrrd
ModuleEntryPoint --type Int
${TEST_DATA}/CastTest.nrrd ${TEMP}/CastTestInt.nrrd
)
add_test(CastTestUnsignedInt ${Slicer3_EXE} --launch CastTest
--compare ${BASELINE}/CastTestUnsignedInt.nrrd
${TEMP}/CastTestUnsignedInt.nrrd
ModuleEntryPoint --type UnsignedInt
${TEST_DATA}/CastTest.nrrd ${TEMP}/CastTestUnsignedInt.nrrd
)
add_test(CastTestFloat ${Slicer3_EXE} --launch CastTest
--compare ${BASELINE}/CastTestFloat.nrrd
${TEMP}/CastTestFloat.nrrd
ModuleEntryPoint --type Float
${TEST_DATA}/CastTest.nrrd ${TEMP}/CastTestFloat.nrrd
)
add_test(CastTestDouble ${Slicer3_EXE} --launch CastTest
--compare ${BASELINE}/CastTestDouble.nrrd
${TEMP}/CastTestDouble.nrrd
ModuleEntryPoint --type Double
${TEST_DATA}/CastTest.nrrd ${TEMP}/CastTestDouble.nrrd
)
set (CLP Cast)
add_executable(${CLP}Test ${CLP}Test.cxx)
target_link_libraries(${CLP}Test ${CLP}Lib)
......
Supports Markdown
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