make testing more robust

This commit is contained in:
2025-10-03 22:05:00 +02:00
parent 8ada613a3e
commit 89b4dfa3e8
4 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#include <criterion/criterion.h>
#define ALLOCATOR_IMPLEMENTATION
#include "allocator.h"
Test(std_allocator, test) {
allocator_t this = allocator_stdlib;
void *ptr = allocator_alloc(this, 10);