Add tests
This commit is contained in:
11
tests/wapptest.c
Normal file
11
tests/wapptest.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "test_arena.h"
|
||||
#include "tester.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
run_tests(test_arena_init, test_arena_alloc_succeeds_when_within_capacity,
|
||||
test_arena_alloc_fails_when_over_capacity, test_arena_clear,
|
||||
test_arena_destroy);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Reference in New Issue
Block a user