Definitions used for test code. More...

Go to the source code of this file.
Defines | |
| #define | TEST_FAILED TestFailed(__FILE__,__LINE__) |
| #define | TEST(c) (void)((c)||TEST_FAILED) |
Functions | |
| int | TestFailed (const char *file, int line) |
Definitions used for test code.
Definition in file test.h.
| #define TEST_FAILED TestFailed(__FILE__,__LINE__) |
Macro which calls TestFailed with arguments corresponging to the current source code line.
| #define TEST | ( | c | ) | (void)((c)||TEST_FAILED) |
| int TestFailed | ( | const char * | file, | |
| int | line | |||
| ) |
Prototype for function called whenever a test case fails.
| file | Name of source file containing the test case. | |
| line | Line number of test case within file |
1.6.1