aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.c
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-09-27 12:11:52 +0200
committeraxtloss <axtlos@getcryst.al>2024-09-27 12:11:52 +0200
commit7aa261f8d57cb53cc334f6bf1920a6f8517ff054 (patch)
treef23a96feda17de737c71b45dc94e7e044410ad35 /tests/tests.c
parent27bb394bc0bf2ca66d06931bf1e73a3e20d5741a (diff)
downloadextlib-7aa261f8d57cb53cc334f6bf1920a6f8517ff054.tar.gz
extlib-7aa261f8d57cb53cc334f6bf1920a6f8517ff054.tar.bz2
Rework test suite to be more modular
Diffstat (limited to '')
-rw-r--r--tests/tests.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/tests.c b/tests/tests.c
new file mode 100644
index 0000000..73dd1af
--- /dev/null
+++ b/tests/tests.c
@@ -0,0 +1,22 @@
+#include "test_driver.h"
+#include "test_fcopy.c"
+#include "test_join_str.c"
+#include "test_malloc_free_secure.c"
+#include "test_memset_s.c"
+#include "test_min_max_cap.c"
+#include "test_replace_str.c"
+#include "test_strlwr_strupr.c"
+#include "test_trim.c"
+
+inline void
+tests_entrypoint ()
+{
+ register_test (test_fcopy_t ());
+ register_test (test_join_str_t( ));
+ register_test (test_malloc_free_secure_t ());
+ register_test (test_memset_s_t ());
+ register_test (test_min_max_cap_t ());
+ register_test (test_replace_str_t ());
+ register_test (test_strlwr_strupr_t ());
+ register_test (test_trim_t ());
+}