C patterns and macros for integrating unit tests.
unittest.hcontains macros for integration.test.cis the pattern for a main test file.Makefilehas define macros forunittest.hoptions.unittest.cis an example of a test file.- Note the include guards!
Local variables in the macros have the prefix unittest_,
which should be uncommon/clear enough not to be used.
unittest.h only exports macros, no special functions.