1.1 --- a/tests/ucxtest.c Wed Dec 20 17:57:18 2023 +0100 1.2 +++ b/tests/ucxtest.c Wed Dec 20 18:13:30 2023 +0100 1.3 @@ -29,6 +29,7 @@ 1.4 #include "cx/test.h" 1.5 1.6 CxTestSuite *cx_test_suite_utils(void); 1.7 +CxTestSuite *cx_test_suite_hash_key(void); 1.8 1.9 #define run_tests(suite) cx_test_run_stdout(suite); success += (suite)->success; failure += (suite)->failure 1.10 1.11 @@ -39,17 +40,20 @@ 1.12 1.13 // create test suites 1.14 CxTestSuite 1.15 - *utils = cx_test_suite_utils(); 1.16 + *utils = cx_test_suite_utils(), 1.17 + *hash_key = cx_test_suite_hash_key(); 1.18 1.19 // run tests 1.20 run_tests(utils); 1.21 + run_tests(hash_key); 1.22 1.23 // print overall result 1.24 - printf("\n\n*** OVERALL RESULT ***\n"); 1.25 + printf("=== OVERALL RESULT ===\n"); 1.26 printf(" Total: %u\n Success: %u\n Failure: %u\n", 1.27 success + failure, success, failure); 1.28 1.29 cx_test_suite_free(utils); 1.30 + cx_test_suite_free(hash_key); 1.31 1.32 return failure > 0 ? 1 : 0; 1.33 }