testutil.h 215 B

12345
  1. #define WARN(test) if (!(test)) \
  2. fprintf(stderr, "check failed @ %d: %s\n", (int)__LINE__, #test)
  3. #define WARNF(test) if (!(test) && ((void) fprintf(stderr, "check failed @ %d: %s\n", (int)__LINE__, #test), 1))