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
Add new checking macros #1273
The ITK SW Guide states in the
Their adoption seems low. May be proposing macros to ease the process, reduce verbosity and reduce boilerplate code would help.
This does also apply to Examples.
Missing parameter and regression check messages in tests and examples be consistent, e.g.:
Missing parameter and regression check messages in tests and examples are not consistent, e.g
and regressions are still less consistent.
Some of the names of the macros, e.g.
And this would also mean placing these macros in a file other than
The most logical place would be
Also, use of a macro instead of try/catch block in the examples would be confusing for new users, who are familiar with C++ try/catch but not (yet) familiar with ITK conventions.