#include "hs_tests.h" /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * RUN TESTS * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ int tests_run = 0; int tests_failed = 0; int main() { printf("================ start tests ================\n\n"); hs_type_to_string_tests(); hs_parse_args_tests(); hs_parse_overloaded_tests(); hs_create_table_tests(); hs_create_enum_tests(); hs_pushstring_tests(); printf("\n=============== tests finished ===============\n\n"); const char *color = tests_failed == 0 ? GREEN : RED; printf("%sran %d tests, %d failed\n" RESET, color, tests_run, tests_failed); return tests_failed; }