diff options
author | Christian C <cc@localhost> | 2025-03-08 00:28:15 -0800 |
---|---|---|
committer | Christian C <cc@localhost> | 2025-03-08 00:28:15 -0800 |
commit | 140754bc0f265696b4d76e674bf580cfb544d897 (patch) | |
tree | 602088151f40de018f0d919cb1f2147f3d1a88ce /src/test/test.c | |
parent | 9be81ef43c8cfabe72fba16651dbfe62ed0f1123 (diff) |
Lib/Dir testing
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 2f42e17..5c30c98 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -1,4 +1,5 @@ #include <test/lib/color.h> +#include <test/lib/dir.h> #define _META_TEST_RESULT(name,result) if (result) { fprintf(stderr, "%s: \x1b[92mPASS\x1b[0m\n", name);} else { fprintf(stderr, "%s: \x1b[91mFAIL\x1b[0m\n", name);} @@ -11,6 +12,11 @@ int main() all_success &= test_success; _META_TEST_RESULT("LIB/COLOR", test_success) + // lib/dir.c Test + test_success = TEST_lib_dir(); + all_success &= test_success; + _META_TEST_RESULT("LIB/DIR", test_success) + if (all_success == TRUE) { return 0; } |