diff options
author | Joel Kronqvist <joelkronqvist@proton.me> | 2024-03-23 17:56:49 +0200 |
---|---|---|
committer | Joel Kronqvist <joelkronqvist@proton.me> | 2024-03-23 18:00:51 +0200 |
commit | e26279107edf7012e6b9cd558aaa09a8f0ca4764 (patch) | |
tree | 2bcd2eb3c6c2ade2e85c9f52ca1fc41d3c720811 /tests.c | |
download | stdu-e26279107edf7012e6b9cd558aaa09a8f0ca4764.tar.gz stdu-e26279107edf7012e6b9cd558aaa09a8f0ca4764.zip |
Initial commit
Diffstat (limited to 'tests.c')
-rw-r--r-- | tests.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ + +#include "minitest.h" +#include "intmath.c" + +int tests_run = 0; +int tests_failed = 0; + +int main() { + printf("[INFO] Running tests...\n\n"); + + printf("[INFO] Running intmath-tests...\n"); + intmath_tests(); + printf("\n"); + + mt_test_report(); + + return tests_failed != 0; +} |