Skip to content

Commit 654b48f

Browse files
committed
ENH: Convert itkMathTest to itkMathGTest
Use GTest framework for testing the math functions.
1 parent 7583f8e commit 654b48f

File tree

3 files changed

+392
-956
lines changed

3 files changed

+392
-956
lines changed

Modules/Core/Common/test/CMakeLists.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,6 @@ createtestdriver(
213213
set(BASELINE "${ITK_DATA_ROOT}/Baseline/Common")
214214
set(TEMP ${ITK_TEST_OUTPUT_DIR})
215215

216-
add_executable(itkMathTest itkMathTest.cxx)
217-
target_link_options(
218-
itkMathTest
219-
PRIVATE
220-
"$<$<AND:$<C_COMPILER_ID:AppleClang>,$<VERSION_GREATER_EQUAL:$<C_COMPILER_VERSION>,15.0>>:LINKER:-no_warn_duplicate_libraries>"
221-
)
222-
itk_module_target_label(itkMathTest)
223-
target_link_libraries(itkMathTest PUBLIC ${ITKCommon-Test_LIBRARIES})
224-
itk_add_test(NAME itkMathTest COMMAND itkMathTest)
225-
226216
add_executable(itkSystemInformation itkSystemInformation.cxx)
227217
target_link_options(
228218
itkSystemInformation
@@ -1906,6 +1896,7 @@ set(
19061896
itkVectorGTest.cxx
19071897
itkWeakPointerGTest.cxx
19081898
itkCommonTypeTraitsGTest.cxx
1899+
itkMathGTest.cxx
19091900
itkMetaDataDictionaryGTest.cxx
19101901
itkSpatialOrientationAdaptorGTest.cxx
19111902
itkAnatomicalOrientationGTest.cxx

0 commit comments

Comments
 (0)