bootstrap/test/runner.c

21 lines
493 B
C
Raw Normal View History

2023-11-23 11:09:32 +00:00
#include "sput.h"
#include "test_config.h"
2023-11-23 14:40:17 +00:00
#include "test_dyn_array.h"
2023-11-23 11:09:32 +00:00
int main(int argc, char *argv[]) {
sput_start_testing();
2023-11-23 14:40:17 +00:00
sput_enter_suite("config");
sput_run_test(test_config_load_root_dir_invalid);
sput_run_test(test_config_load_target_invalid);
sput_run_test(test_config_load_success);
sput_enter_suite("dyn_array");
sput_run_test(test_dyn_array_empty);
sput_run_test(test_dyn_array_nonzero_capacity);
2023-11-23 11:09:32 +00:00
sput_finish_testing();
return sput_get_return_value();
}