test "expect condition" utility function More...
test "expect condition" utility function
Definition in file expect.h.
Include dependency graph for expect.h:Go to the source code of this file.
Macros | |
| #define | expect(cond) (likely(cond) ? (void)0 : _expect_failure(__FILE__, __LINE__)) |
| abort the program if condition is false More... | |
Functions | |
| static NORETURN void | _expect_failure (const char *file, unsigned line) |
| Function to handle failed expectation. More... | |