aboutsummaryrefslogtreecommitdiff
path: root/base_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'base_test.c')
-rw-r--r--base_test.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/base_test.c b/base_test.c
index c19806f..7a0c77b 100644
--- a/base_test.c
+++ b/base_test.c
@@ -1,15 +1,13 @@
-#include <stdio.h>
-
#define test(func) \
- switch (func()) { \
- case 0: \
- printf("✅ %s\n", #func); \
- success++; \
- break; \
- default: \
- failures++; \
- printf("🚫 %s\n", #func); \
- }
+ switch (func()) { \
+ case 0: \
+ printf("✅ %s\n", #func); \
+ success++; \
+ break; \
+ default: \
+ failures++; \
+ printf("🚫 %s\n", #func); \
+ }
int success;
int failures;