@@ -54,24 +54,24 @@ int BoneMorphometryFeaturesFilterInstantiationTest( int argc, char *argv[] )
5454 using FilterType = itk::BoneMorphometryFeaturesFilter<InputImageType>;
5555 FilterType::Pointer filter = FilterType::New ();
5656
57- EXERCISE_BASIC_OBJECT_METHODS ( filter,
57+ ITK_EXERCISE_BASIC_OBJECT_METHODS ( filter,
5858 BoneMorphometryFeaturesFilter, ImageToImageFilter );
5959
6060 filter->SetInput ( reader->GetOutput () );
6161
6262 // filter->SetMaskImage( maskReader->GetOutput() );
63- // TEST_SET_GET_VALUE ( maskReader->GetOutput(), filter->GetMaskImage() );
63+ // ITK_TEST_SET_GET_VALUE ( maskReader->GetOutput(), filter->GetMaskImage() );
6464
6565 filter->SetThreshold ( 1300 );
66- TEST_SET_GET_VALUE ( 1300 , filter->GetThreshold () );
66+ ITK_TEST_SET_GET_VALUE ( 1300 , filter->GetThreshold () );
6767
68- TRY_EXPECT_NO_EXCEPTION ( filter->Update () );
68+ ITK_TRY_EXPECT_NO_EXCEPTION ( filter->Update () );
6969
70- TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 0.232113 , filter->GetBVTV (),6 ,0.000001 ));
71- TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 0.281487 , filter->GetTbN (),6 ,0.000001 ));
72- TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 0.824595 , filter->GetTbTh (),6 ,0.000001 ));
73- TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 2.72796 , filter->GetTbSp (),5 ,0.00001 ));
74- TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 2.42543 , filter->GetBSBV (),5 ,0.00001 ));
70+ ITK_TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 0.232113 , filter->GetBVTV (),6 ,0.000001 ));
71+ ITK_TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 0.281487 , filter->GetTbN (),6 ,0.000001 ));
72+ ITK_TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 0.824595 , filter->GetTbTh (),6 ,0.000001 ));
73+ ITK_TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 2.72796 , filter->GetTbSp (),5 ,0.00001 ));
74+ ITK_TEST_EXPECT_TRUE (itk::Math::FloatAlmostEqual ( 2.42543 , filter->GetBSBV (),5 ,0.00001 ));
7575
7676 std::cout << " Test finished." << std::endl;
7777 return EXIT_SUCCESS;
0 commit comments