1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "src/std/types.h" #define test(func) \ switch (func()) { \ case 0: \ printf("✅ %s\n", #func); \ success++; \ break; \ default: \ failures++; \ printf("🚫 %s\n", #func); \ } i32 success; i32 failures;