aboutsummaryrefslogtreecommitdiff
path: root/base_test.c
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 17:06:53 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 17:09:42 +0200
commit0be32393e54bed6bbf5890edba72b8808d276289 (patch)
treeba83502753e64f0c60f5202a8d224b57b52cf14f /base_test.c
parent85b0db24804e6a8a66f557ac8917596db5fc5d9f (diff)
format
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;