move std allocator to forever allocator
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
#include <criterion/criterion.h>
|
#include <criterion/criterion.h>
|
||||||
#include "cig.h"
|
#include "cig.h"
|
||||||
|
|
||||||
// TODO rename std to forever allocator
|
Test(forever_allocator, test) {
|
||||||
Test(std_allocator, test) {
|
|
||||||
allocator_t this = forever_allocator();
|
allocator_t this = forever_allocator();
|
||||||
void *ptr = allocator_alloc(this, 10);
|
void *ptr = allocator_alloc(this, 10);
|
||||||
cr_assert(ptr != ((void *)0), "non null from malloc");
|
cr_assert(ptr != ((void *)0), "non null from malloc");
|
||||||
Reference in New Issue
Block a user