Initial commit

This commit is contained in:
2026-01-17 12:17:57 -06:00
commit a68b0cd2ae
11 changed files with 397 additions and 0 deletions

11
tests/01_malloc.c Normal file
View File

@@ -0,0 +1,11 @@
#define DEBUG
#include <stdlib.h>
#include "../include/mem.h"
int main(void){
size_t nbytes = 20;
void *ptr = ALLOC(0, nbytes);
ASSERTED(ptr != NULL);
ASSERTED( mem_is_zero(ptr, nbytes));
return EXIT_SUCCESS;
}