Ylva And Malin
Macros | Variables
ym_test.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define YM_CHECK(message, test)
 
#define YM_TEST(test)
 

Variables

int tests_run
 

Macro Definition Documentation

#define YM_CHECK (   message,
  test 
)
Value:
do \
{ \
if (!(test)) \
return "\033[0;31m" message "\033[0m"; \
} while (0)
#define YM_TEST (   test)
Value:
do \
{ \
const char* message = test(); \
if (message) \
return message; \
} while (0)
int tests_run
Definition: main.c:5

Variable Documentation

int tests_run