int main(int argc, char **argv) { BEGIN_TESTS(); { struct core_memory_pool memory; core_memory_pool_init(&memory, 16777216, -1); test_allocator(&memory); core_memory_pool_disable_tracking(&memory); test_allocator(&memory); test_allocator(NULL); core_memory_pool_destroy(&memory); } END_TESTS(); return 0; }
int main(int argc, char** argv) { printf("Loading Vitae.\n"); test_allocator(); init(argc, argv); // *** Initialise Engine engine* e = engine_create(); engine_init( e, argc, argv ); #if UNIT_TEST runTests(); #endif engine_run( e ); // Exit Gracefully return 0; }
void runTests() { // Memory Tests test_allocator(); test_hash(); // System Tests test_sexpr(); //test_lisp(); test_maths(); test_property(); test_string(); test_input(); //test_collision(); }