core: all int is now num

This commit is contained in:
2023-06-18 20:03:27 +02:00
parent 1b878db8fe
commit 85a5b567b2
8 changed files with 31 additions and 27 deletions

View File

@ -7,13 +7,13 @@ main()
name = "galloc";
ptr1 = galloc(1);
test_int(ptr1, heap + LOCATION_DATA, "");
test_num(ptr1, heap + LOCATION_DATA, "");
free(ptr1);
ptr1 = galloc(1);
test_int(ptr1, heap + LOCATION_DATA, "alloc after free");
test_num(ptr1, heap + LOCATION_DATA, "alloc after free");
free(ptr1);
ptr2 = galloc(0x9000);
test_int(ptr2, 0, "alloc too big");
test_num(ptr2, 0, "alloc too big");
}