Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Improve the Watershed module code coverage.
Exercise basic object methods. Exercise all Set/Get methods using the TEST_SET_GET_VALUE macro. Remove the calls to print the result of the Get methods. Refactor the itkIsolatedWatershedImageFilterTest.cxx so that the close thresholds condition is exercised by specifying the corresponding test input parameters through the CMakeLists.txt. Use the MD5 hash for the newly added test baseline comparison. Move the tests' Baselines from the general ITK Testing/Data/Baseline/Algorithms and Testing/Data/Baseline/BasicFilters to the module's Baseline folder. This allows to reduce the data downloaded depending on the modules activated. Improve the style of the tests: use of white spaces to be consistent with the ITK style, indentation, naming of variables, declaration of the image dimension as a const, etc. Change-Id: I23da6fb6aef94cfee5d11dd67f7a71a99bc36589
- Loading branch information
Jon Haitz Legarreta
committed
Mar 14, 2017
1 parent
1b666d2
commit 3f65599
Showing
11 changed files
with
244 additions
and
229 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
Modules/Segmentation/Watersheds/test/Baseline/itkIsolatedWatershedImageFilterTest.png.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
b19ea6df9f910060bb62fa5e983c59f1 |
1 change: 1 addition & 0 deletions
1
...ation/Watersheds/test/Baseline/itkIsolatedWatershedImageFilterTestCloseThresholds.png.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
edc580d50b7d98d89997423ae7d043bd |
1 change: 1 addition & 0 deletions
1
Modules/Segmentation/Watersheds/test/Baseline/itkTobogganImageFilterTest.png.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
e51a9e5973dcd8fe01c23495bc46023a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.