diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-21 17:06:53 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-21 17:09:42 +0200 |
| commit | 0be32393e54bed6bbf5890edba72b8808d276289 (patch) | |
| tree | ba83502753e64f0c60f5202a8d224b57b52cf14f /base_test.c | |
| parent | 85b0db24804e6a8a66f557ac8917596db5fc5d9f (diff) | |
format
Diffstat (limited to 'base_test.c')
| -rw-r--r-- | base_test.c | 20 |
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; |
