Skip to content

Commit

Permalink
ENH: Reduce large safety erosion at segment end
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Mar 29, 2022
1 parent f158edc commit 03a1d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/itkAttenuationImageFilterTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ itkAttenuationImageFilterTest(int argc, char * argv[])
attenuationFilter->SetPadUpperBounds(2);
ITK_TEST_SET_GET_VALUE(2, attenuationFilter->GetPadUpperBounds());

attenuationFilter->SetPadLowerBoundsMM(3.0);
ITK_TEST_EXPECT_TRUE(fabs(attenuationFilter->GetPadLowerBoundsMM() - 3.0) < (inputImage->GetSpacing()[0] / 2));
attenuationFilter->SetPadLowerBoundsMM(0.1);
ITK_TEST_EXPECT_TRUE(fabs(attenuationFilter->GetPadLowerBoundsMM() - 0.1) < (inputImage->GetSpacing()[0] / 2));
attenuationFilter->SetPadUpperBoundsMM(0.0);
ITK_TEST_EXPECT_TRUE(fabs(attenuationFilter->GetPadUpperBoundsMM() - 0.0) < (inputImage->GetSpacing()[0] / 2));

Expand Down

0 comments on commit 03a1d39

Please sign in to comment.