#include // #define MAX_TEST_FUNCS 0 #include "test.h" BEFORE({ printf("run before each test.\n"); }) AFTER({ printf("runs after each test\n"); }) SETUP({ printf("runs once at the start\n"); }) TEARDOWN({ printf("runs once at the end\n"); }) TEST(simple_test, { ASSERT(1 == 1, ""); // ASSERT(0 == 1, "This assertion will fail"); }) TEST(simple_test_2, { ASSERT(1 == 1, ""); ASSERT(0 == 1, "This assertion will fail"); }) TEST_INIT()