Skip to content

Commit f4a76a3

Browse files
author
Jon Haitz Legarreta Gorroño
committed
ENH: Add wavelets to itkIsotropicWaveletFrequencyFunctionTest test.
Add missing wavelet cases (Shannon, Simoncelli, Vow) to the cases tested in the itkIsotropicWaveletFrequencyFunctionTest.cxx file. This would allow to improve the coverage for each wavelet's EvaluateMagnitude method.
1 parent ac95ff8 commit f4a76a3

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

test/CMakeLists.txt

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,19 @@ itk_add_test(NAME itkRieszWaveletPhaseAnalysisTest2DMultiLevelMultiBand
253253
${ITK_TEST_OUTPUT_DIR}/itkRieszWaveletPhaseAnalysisTest2DMultiLevelMultiBand.tiff
254254
5 2 ${DefaultWavelet} Apply 2 )
255255
#IsotropicWaveletFrequencyFunctionTest
256-
itk_add_test(NAME itkIsotropicWaveletFrequencyFunctionTest
256+
itk_add_test(NAME itkIsotropicWaveletFrequencyFunctionHeldTest
257257
COMMAND IsotropicWaveletsTestDriver itkIsotropicWaveletFrequencyFunctionTest
258-
${ITK_TEST_OUTPUT_DIR}/profileMotherWavelet
259-
"unused"
260-
1
261-
"Held"
262-
2
263-
)
258+
${ITK_TEST_OUTPUT_DIR}/profileMotherWavelet "unused" 1 "Held" 2 )
259+
itk_add_test(NAME itkIsotropicWaveletFrequencyFunctionShannonTest
260+
COMMAND IsotropicWaveletsTestDriver itkIsotropicWaveletFrequencyFunctionTest
261+
${ITK_TEST_OUTPUT_DIR}/profileMotherWavelet "unused" 1 "Shannon" 2 )
262+
itk_add_test(NAME itkIsotropicWaveletFrequencyFunctionSimoncelliTest
263+
COMMAND IsotropicWaveletsTestDriver itkIsotropicWaveletFrequencyFunctionTest
264+
${ITK_TEST_OUTPUT_DIR}/profileMotherWavelet "unused" 1 "Simonecelli" 2 )
265+
itk_add_test(NAME itkIsotropicWaveletFrequencyFunctionVowTest
266+
COMMAND IsotropicWaveletsTestDriver itkIsotropicWaveletFrequencyFunctionTest
267+
${ITK_TEST_OUTPUT_DIR}/profileMotherWavelet "unused" 1 "Vow" 2 )
268+
264269
itk_add_test(NAME itkHeldIsotropicWaveletTest
265270
COMMAND IsotropicWaveletsTestDriver itkHeldIsotropicWaveletTest)
266271
itk_add_test(NAME itkSimoncelliIsotropicWaveletTest

0 commit comments

Comments
 (0)