Reintroduce C++ support and add usage tests for C++ #4

Merged
abdelrahman merged 7 commits from cpp_support into main 2025-08-10 22:33:41 +00:00
Showing only changes of commit a221e7f540 - Show all commits

View File

@ -9,7 +9,8 @@
#include <stdlib.h> #include <stdlib.h>
int main(void) { int main(void) {
wapp_tester_run_tests(test_arena_allocator, wapp_tester_run_tests(
test_arena_allocator,
test_arena_init, test_arena_init,
test_arena_init_succeeds_when_reserving_very_large_size, test_arena_init_succeeds_when_reserving_very_large_size,
test_arena_alloc_succeeds_when_within_capacity, test_arena_alloc_succeeds_when_within_capacity,
@ -69,7 +70,8 @@ int main(void) {
test_commander_cmd_success, test_commander_cmd_success,
test_commander_cmd_failure, test_commander_cmd_failure,
test_commander_cmd_out_buf_success, test_commander_cmd_out_buf_success,
test_commander_cmd_out_buf_failure); test_commander_cmd_out_buf_failure
);
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }