diff options
author | Christian C <cc@localhost> | 2025-03-08 00:47:14 -0800 |
---|---|---|
committer | Christian C <cc@localhost> | 2025-03-08 00:47:14 -0800 |
commit | 316554287a6cfa7c61c009b745c8f42f3aa30111 (patch) | |
tree | 0639a202477ffd10be1293fbc7e4cbc0a9a39cbc /src/test | |
parent | 8e1541680d15a5489089bbe367892797fa59c8f2 (diff) |
Time tests
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 9ef2534..b3b2fce 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -1,5 +1,6 @@ #include <test/lib/color.h> #include <test/lib/dir.h> +#include <test/lib/time.h> #define _META_TEST_RESULT(name,result) if (result) { fprintf(stderr, " \x1b[92mPASS\x1b[0m %s\n", name);} else { fprintf(stderr, "%s: \x1b[91mFAIL\x1b[0m\n", name);} @@ -17,6 +18,12 @@ int main() all_success &= test_success; _META_TEST_RESULT("LIB/DIR", test_success) + + // lib/time.c Test + test_success = TEST_lib_time(); + all_success &= test_success; + _META_TEST_RESULT("LIB/TIME", test_success) + if (all_success == TRUE) { return 0; } |