Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Extend the use of some testing macros to examples #1275
Derived from this PR to fix a bug it would may be useful to be able to use the
The macro is currently defined in
So may be it should be moved to elsewhere, since in reality,
It would avoid writing boilerplate code, and making the exception messages consistent.
It would allow to avoid bugs such as the one mentioned, would make the code more consistent, have less boilerplate code, and no downsides to it can are foreseen.
Be able to call
macros from the ITK code base or Examples including some header file other than
One may wonder what to do with
Naming may need to be taken care of. Almost all macros in itkTestingMacros have the prefix
Related to #1273.