From 8e478e06c2c09e8d74fcaa6cca84f7db14d23265 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sun, 24 Aug 2025 22:53:21 +0200 Subject: improved testing & src cleanup --- include/testing.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/testing.h') diff --git a/include/testing.h b/include/testing.h index 754733b..1ca460b 100644 --- a/include/testing.h +++ b/include/testing.h @@ -2,6 +2,14 @@ #include #include +#include "../include/memory.h" + +typedef struct { + size size; + byte *content; +} MemoryFile; +MemoryFile load_file(Arena *a, const char *filename); + #define t_assert_equal(a, b) \ if (!(a == b)) { \ fprintf(stderr, \ -- cgit v1.3