aboutsummaryrefslogtreecommitdiff
path: root/testing.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-02-14 19:01:21 +0100
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-02-14 19:01:21 +0100
commit54db532879ed3f6d76463a3ab3f3895bd41c861c (patch)
tree0b9f52e01f612d0ac26003df96094dac2287bf5f /testing.h
parent03632f51152e5e3b6bb74c29987709fbe97a9a69 (diff)
feat(test): Add test runner (debug is ok, 2 failures in release)
Diffstat (limited to 'testing.h')
-rw-r--r--testing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing.h b/testing.h
new file mode 100644
index 0000000..f27daf2
--- /dev/null
+++ b/testing.h
@@ -0,0 +1,4 @@
+#define t_assert(fact) \
+ if (!(fact)) { \
+ return 1; \
+ }