4 lines
186 B
C
4 lines
186 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#define chi_assert(message, test) do { if (!(test)) { fprintf(stderr, "ASSERT FAILED (line %d): %s\n", __LINE__, (message)); exit(1); } } while(0)
|