aboutsummaryrefslogtreecommitdiff
path: root/tests/string_tests.c
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-08-18 16:48:53 +0200
committerMosder <xmosder12@gmail.com>2026-08-18 16:48:53 +0200
commit1cb408c0e4f42c4b11e8e2f80374c26bb905ef22 (patch)
treebbb555fccea06ffc586a17b41d26ddf3281e74bc /tests/string_tests.c
parent94ae190fab09d6ec421b35474e620f664b88647f (diff)
feat: added basic definitions and documentation + templates for implementation and tests for string slices
Diffstat (limited to 'tests/string_tests.c')
-rw-r--r--tests/string_tests.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/string_tests.c b/tests/string_tests.c
new file mode 100644
index 0000000..c1afd4f
--- /dev/null
+++ b/tests/string_tests.c
@@ -0,0 +1,46 @@
+#include "string_tests.h"
+#include "moslib/string.h"
+
+Test creating() {
+ test_assert(0, "TODO");
+}
+
+Test printing() {
+ test_assert(0, "TODO");
+}
+
+Test comparing() {
+ test_assert(0, "TODO");
+}
+
+Test splitting() {
+ test_assert(0, "TODO");
+}
+
+Test trimming() {
+ test_assert(0, "TODO");
+}
+
+Test prefix_suffix() {
+ test_assert(0, "TODO");
+}
+
+Test finding() {
+ test_assert(0, "TODO");
+}
+
+Test utf8_len_test() {
+ test_assert(0, "TODO");
+}
+
+void string_tests(Tester *tester) {
+ TestGroup *group = add_test_group(tester, "moslib/string.h");
+ add_test(group, creating);
+ add_test(group, printing);
+ add_test(group, comparing);
+ add_test(group, splitting);
+ add_test(group, trimming);
+ add_test(group, prefix_suffix);
+ add_test(group, finding);
+ add_test(group, utf8_len_test);
+}