codex
Loading...
Searching...
No Matches
assert_equal.c File Reference
#include <stdio.h>
Include dependency graph for assert_equal.c:

Macros

#define assert_equal(e, m)   assert_equal0(e, #m, m)
 
#define assert_equal0(e, s, m)   printf("%s: %s\n", (s), #m)
 
#define y(x)   x + x
 
#define x(x)   y(x)
 

Functions

int main (int argc, char **argv, char **env)
 

Macro Definition Documentation

◆ assert_equal

#define assert_equal ( e,
m )   assert_equal0(e, #m, m)

◆ assert_equal0

#define assert_equal0 ( e,
s,
m )   printf("%s: %s\n", (s), #m)

◆ x

#define x ( x)    y(x)

◆ y

#define y ( x)    x + x

Function Documentation

◆ main()

int main ( int argc,
char ** argv,
char ** env )