Skip to content

Commit e0affdf

Browse files
committed
COMP: prefix testing macros with ITK_
1 parent 843c0ec commit e0affdf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

{{cookiecutter.project_name}}/test/itkMinimalStandardRandomVariateGeneratorTest.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ itkMinimalStandardRandomVariateGeneratorTest(int, char *[])
2727
typedef itk::Statistics::MinimalStandardRandomVariateGenerator GeneratorType;
2828
GeneratorType::Pointer generator = GeneratorType::New();
2929

30-
EXERCISE_BASIC_OBJECT_METHODS(generator, MinimalStandardRandomVariateGenerator, RandomVariateGeneratorBase);
30+
ITK_EXERCISE_BASIC_OBJECT_METHODS(generator, MinimalStandardRandomVariateGenerator, RandomVariateGeneratorBase);
3131

3232
generator->Initialize(324);
3333

34-
TEST_EXPECT_TRUE(itk::Math::FloatAlmostEqual(generator->GetVariate(), 1.35581, 4, 0.0001));
34+
ITK_TEST_EXPECT_TRUE(itk::Math::FloatAlmostEqual(generator->GetVariate(), 1.35581, 4, 0.0001));
3535

3636
return EXIT_SUCCESS;
3737
}

{{cookiecutter.project_name}}/test/itk{{cookiecutter.filter_name}}Test.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ int itk{{ cookiecutter.filter_name }}Test(int argc, char * argv[])
7171
using FilterType = itk::{{ cookiecutter.filter_name }}<ImageType, ImageType>;
7272
FilterType::Pointer filter = FilterType::New();
7373

74-
EXERCISE_BASIC_OBJECT_METHODS(filter, {{ cookiecutter.filter_name }}, ImageToImageFilter);
74+
ITK_EXERCISE_BASIC_OBJECT_METHODS(filter, {{ cookiecutter.filter_name }}, ImageToImageFilter);
7575

7676
// Create input image to avoid test dependencies.
7777
ImageType::SizeType size;
@@ -91,7 +91,7 @@ int itk{{ cookiecutter.filter_name }}Test(int argc, char * argv[])
9191
writer->SetInput(filter->GetOutput());
9292
writer->SetUseCompression(true);
9393

94-
TRY_EXPECT_NO_EXCEPTION(writer->Update());
94+
ITK_TRY_EXPECT_NO_EXCEPTION(writer->Update());
9595

9696

9797
std::cout << "Test finished." << std::endl;

0 commit comments

Comments
 (0)