ihct
(I Hate C Testing)
|
More general macros for function. More...
Macros | |
#define | IHCT_RUN(argc, argv) |
Runs all tests. Is to be called once in the main entrypoint. More... | |
#define | IHCT_TEST(name) |
Create a new test unit, which can take any number of asserts. More... | |
More general macros for function.
#define IHCT_RUN | ( | argc, | |
argv | |||
) |
Runs all tests. Is to be called once in the main entrypoint.
argc | argument count, directly passed from main. |
argv | argument array, directly passed from main. |
#define IHCT_TEST | ( | name | ) |
Create a new test unit, which can take any number of asserts.
name | the name of the test. |
Can be shortened to remove 'IHCT_' prefix by defining IHCT_SHORT.