test/main.c

branch
feature/array
changeset 334
bc81faa9afda
parent 323
b8c49e7a1dba
child 337
f695ae118460
--- a/test/main.c	Fri Dec 28 17:20:23 2018 +0100
+++ b/test/main.c	Thu Jul 04 20:07:31 2019 +0200
@@ -33,6 +33,7 @@
 
 #include "main.h"
 
+#include "array_tests.h"
 #include "allocator_tests.h"
 #include "logging_tests.h"
 #include "list_tests.h"
@@ -141,6 +142,24 @@
         ucx_test_register(suite, test_ucx_logger_new);
         ucx_test_register(suite, test_ucx_logger_log);
         
+        /* UcxArray Tests */
+        ucx_test_register(suite, test_ucx_array_free);
+        ucx_test_register(suite, test_ucx_array_new);
+        ucx_test_register(suite, test_ucx_array_at);
+        ucx_test_register(suite, test_ucx_array_append);
+        ucx_test_register(suite, test_ucx_array_prepend);
+        ucx_test_register(suite, test_ucx_array_autogrow);
+        ucx_test_register(suite, test_ucx_array_equals);
+        ucx_test_register(suite, test_ucx_array_concat);
+        ucx_test_register(suite, test_ucx_array_find);
+        ucx_test_register(suite, test_ucx_array_contains);
+        ucx_test_register(suite, test_ucx_array_remove);
+        ucx_test_register(suite, test_ucx_array_clone);
+        ucx_test_register(suite, test_ucx_array_sort);
+        ucx_test_register(suite, test_ucx_array_shrink);
+        ucx_test_register(suite, test_ucx_array_resize);
+        ucx_test_register(suite, test_ucx_array_reserve);
+        
         /* UcxList Tests */
         ucx_test_register(suite, test_ucx_list_append);
         ucx_test_register(suite, test_ucx_list_prepend);

mercurial