Tests the regional special purpose allocator. More...
Functions | |
static void | corner_cases (struct regional *r) |
test regional corner cases, zero, one, end of structure | |
static void | specific_cases (void) |
test specific cases | |
static void | burden_test (size_t max) |
put random stuff in a region and free it | |
static void | random_burden (void) |
randomly allocate stuff | |
void | regional_test (void) |
unit test for regional allocator functions | |
Tests the regional special purpose allocator.