aboutsummaryrefslogtreecommitdiff
path: root/include/test/lib
diff options
context:
space:
mode:
authorChristian C <cc@localhost>2025-03-08 00:28:15 -0800
committerChristian C <cc@localhost>2025-03-08 00:28:15 -0800
commit140754bc0f265696b4d76e674bf580cfb544d897 (patch)
tree602088151f40de018f0d919cb1f2147f3d1a88ce /include/test/lib
parent9be81ef43c8cfabe72fba16651dbfe62ed0f1123 (diff)
Lib/Dir testing
Diffstat (limited to 'include/test/lib')
-rw-r--r--include/test/lib/dir.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/test/lib/dir.h b/include/test/lib/dir.h
new file mode 100644
index 0000000..64482df
--- /dev/null
+++ b/include/test/lib/dir.h
@@ -0,0 +1,18 @@
+#ifndef INC_TEST_LIB_DIR_H
+#define INC_TEST_LIB_DIR_H
+
+#include <test/__meta__.h>
+#ifndef TEST_RESULT
+#define TEST_RESULT(subtest,result,n,n_success) _TEST_RESULT("LIB/DIR",subtest,result,n,n_success)
+#endif
+
+#include <lib/dir.h>
+
+bool_t test_is_directory(char* dirname, bool_t result);
+bool_t test_full_path(char* dirname, char* file, char* result);
+bool_t test_is_tif_ext(char* file_name, bool_t result);
+
+// Meta test function
+bool_t TEST_lib_dir();
+
+#endif