diff options
Diffstat (limited to 'base_test.c')
| -rw-r--r-- | base_test.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/base_test.c b/base_test.c new file mode 100644 index 0000000..c19806f --- /dev/null +++ b/base_test.c @@ -0,0 +1,15 @@ +#include <stdio.h> + +#define test(func) \ + switch (func()) { \ + case 0: \ + printf("✅ %s\n", #func); \ + success++; \ + break; \ + default: \ + failures++; \ + printf("🚫 %s\n", #func); \ + } + +int success; +int failures; |
