Skip to content

Commit

Permalink
ENH: Increase itk::ShapeOpeningLabelMapFilter coverage
Browse files Browse the repository at this point in the history
Increase `itk::ShapeOpeningLabelMapFilter` coverage: exercise basic
object methods using the `ITK_EXERCISE_BASIC_OBJECT_METHODS` macro.
  • Loading branch information
jhlegarreta authored and dzenanz committed Nov 13, 2023
1 parent 215209f commit f74435d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ itkShapeOpeningLabelMapFilterTest1(int argc, char * argv[])
using LabelOpeningType = itk::ShapeOpeningLabelMapFilter<LabelMapType>;
auto opening = LabelOpeningType::New();

ITK_EXERCISE_BASIC_OBJECT_METHODS(opening, ShapeOpeningLabelMapFilter, InPlaceLabelMapFilter);

// testing get and set macros for Lambda
double lambda = std::stod(argv[3]);
opening->SetLambda(lambda);
Expand Down

0 comments on commit f74435d

Please sign in to comment.