mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-12-05 21:27:13 -06:00
small cleanup, makefile preparation for calcdiff
This commit is contained in:
5
testutil.h
Normal file
5
testutil.h
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
#define WARN(test) if (!(test)) \
|
||||
fprintf(stderr, "check failed @ %d: %s\n", (int)__LINE__, #test)
|
||||
|
||||
#define WARNF(test) if (!(test) && ((void) fprintf(stderr, "check failed @ %d: %s\n", (int)__LINE__, #test), 1))
|
||||
Reference in New Issue
Block a user