Add test for Arena's reallocation functionality
This commit is contained in:
@@ -5,14 +5,12 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
wapp_tester_run_tests(
|
||||
test_libc_allocator, test_arena_allocator, test_arena_init,
|
||||
test_arena_init_succeeds_when_reserving_very_large_size,
|
||||
test_arena_alloc_succeeds_when_within_capacity,
|
||||
test_arena_alloc_fails_when_over_capacity, test_arena_clear,
|
||||
test_arena_destroy, test_commander_cmd_success,
|
||||
test_commander_cmd_failure, test_commander_cmd_out_buf_success,
|
||||
test_commander_cmd_out_buf_failure);
|
||||
wapp_tester_run_tests(test_libc_allocator, test_arena_allocator, test_arena_init,
|
||||
test_arena_init_succeeds_when_reserving_very_large_size,
|
||||
test_arena_alloc_succeeds_when_within_capacity, test_arena_alloc_fails_when_over_capacity,
|
||||
test_arena_realloc_bigger_size, test_arena_realloc_smaller_size, test_arena_clear,
|
||||
test_arena_destroy, test_commander_cmd_success, test_commander_cmd_failure,
|
||||
test_commander_cmd_out_buf_success, test_commander_cmd_out_buf_failure);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user