diff options
Diffstat (limited to 'src/unit/main.c')
-rw-r--r-- | src/unit/main.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/unit/main.c b/src/unit/main.c new file mode 100644 index 0000000..32df795 --- /dev/null +++ b/src/unit/main.c @@ -0,0 +1,17 @@ +#include "greatest.h" + +SUITE_EXTERN(std_allocator); +SUITE_EXTERN(arena_allocator); +SUITE_EXTERN(page_allocator); + +GREATEST_MAIN_DEFS(); + +int main(int argc, char **argv) { + GREATEST_MAIN_BEGIN(); + + RUN_SUITE(std_allocator); + RUN_SUITE(arena_allocator); + RUN_SUITE(page_allocator); + + GREATEST_MAIN_END(); /* display results */ +} |