From a378ff1b173f7a67272e574fb1a2c275ecb9661b Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 21 Jul 2025 11:59:06 +0200 Subject: test: rewrite tests --- testing.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testing.h') diff --git a/testing.h b/testing.h index f27daf2..cb40294 100644 --- a/testing.h +++ b/testing.h @@ -1,4 +1,7 @@ +#include + #define t_assert(fact) \ if (!(fact)) { \ + fprintf(stderr, "Assertion failed: %s at %s:%d in %s()\n", #fact, __FILE__, __LINE__, __func__); \ return 1; \ } -- cgit v1.3