tests/ucxtest.c

changeset 970
c9b02747cfc5
parent 946
b428424c0214
child 971
cc204fc56c9c
--- a/tests/ucxtest.c	Fri Nov 01 18:33:16 2024 +0100
+++ b/tests/ucxtest.c	Sat Nov 02 13:38:51 2024 +0100
@@ -30,25 +30,26 @@
 #include "cx/test.h"
 
 CxTestSuite *cx_test_suite_testing_allocator(void);
+CxTestSuite *cx_test_suite_szmul(void);
+CxTestSuite *cx_test_suite_allocator(void);
 CxTestSuite *cx_test_suite_utils(void);
 CxTestSuite *cx_test_suite_compare(void);
-CxTestSuite *cx_test_suite_hash_key(void);
-CxTestSuite *cx_test_suite_allocator(void);
 CxTestSuite *cx_test_suite_string(void);
 CxTestSuite *cx_test_suite_buffer(void);
-CxTestSuite *cx_test_suite_printf(void);
+CxTestSuite *cx_test_suite_hash_key(void);
+CxTestSuite *cx_test_suite_hash_map(void);
 CxTestSuite *cx_test_suite_iterator(void);
 CxTestSuite *cx_test_suite_empty_list(void);
 CxTestSuite *cx_test_suite_array_list(void);
+CxTestSuite *cx_test_suite_array_list_defaulted_funcs(void);
 CxTestSuite *cx_test_suite_linked_list(void);
-CxTestSuite *cx_test_suite_array_list_defaulted_funcs(void);
 CxTestSuite *cx_test_suite_linked_list_defaulted_funcs(void);
 CxTestSuite *cx_test_suite_tree_low_level(void);
 CxTestSuite *cx_test_suite_tree_high_level(void);
-CxTestSuite *cx_test_suite_mempool(void);
-CxTestSuite *cx_test_suite_hash_map(void);
 CxTestSuite *cx_test_suite_properties(void);
 CxTestSuite *cx_test_suite_json(void);
+CxTestSuite *cx_test_suite_printf(void);
+CxTestSuite *cx_test_suite_mempool(void);
 
 #define run_tests(suite) cx_test_run_stdout(suite); success += (suite)->success; failure += (suite)->failure
 #define execute_test_suites(...) unsigned success = 0, failure = 0; CxTestSuite* test_suites[] = {__VA_ARGS__}; \
@@ -60,25 +61,26 @@
 
     execute_test_suites(
             cx_test_suite_testing_allocator(),
+            cx_test_suite_szmul(),
+            cx_test_suite_allocator(),
             cx_test_suite_utils(),
             cx_test_suite_compare(),
-            cx_test_suite_hash_key(),
-            cx_test_suite_allocator(),
             cx_test_suite_string(),
             cx_test_suite_buffer(),
-            cx_test_suite_printf(),
+            cx_test_suite_hash_key(),
+            cx_test_suite_hash_map(),
             cx_test_suite_iterator(),
             cx_test_suite_empty_list(),
             cx_test_suite_array_list(),
+            cx_test_suite_array_list_defaulted_funcs(),
             cx_test_suite_linked_list(),
-            cx_test_suite_array_list_defaulted_funcs(),
             cx_test_suite_linked_list_defaulted_funcs(),
             cx_test_suite_tree_low_level(),
             cx_test_suite_tree_high_level(),
+            cx_test_suite_properties(),
             cx_test_suite_mempool(),
-            cx_test_suite_hash_map(),
-            cx_test_suite_properties(),
-            cx_test_suite_json()
+            cx_test_suite_json(),
+            cx_test_suite_printf()
     );
     printf("=== OVERALL RESULT ===\n");
     printf("  Total:   %u\n  Success: %u\n  Failure: %u\n",

mercurial