From e26279107edf7012e6b9cd558aaa09a8f0ca4764 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 23 Mar 2024 17:56:49 +0200 Subject: Initial commit --- tests.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests.c (limited to 'tests.c') diff --git a/tests.c b/tests.c new file mode 100644 index 0000000..138a994 --- /dev/null +++ b/tests.c @@ -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; +} -- cgit v1.2.3