diff --git a/tests/include/testing.h b/tests/include/testing.h new file mode 100644 index 0000000..6a7206e --- /dev/null +++ b/tests/include/testing.h @@ -0,0 +1,8 @@ +#ifndef LIBANTELOPE_TESTING_H +#define LIBANTELOPE_TESTING_H + +#include + +#define CHECK_PRED(a,b,pred) if (pred) { CHECK_EQ((a), (b)); } else { CHECK_NE((a), (b)); } + +#endif /* LIBANTELOPE_TESTING_H */ \ No newline at end of file