From f975594e55bdc05ee436bc7bdcd6e09aec5357b1 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sun, 7 Apr 2024 10:53:40 +0300 Subject: Finished implementation for formatting for human readability --- tests.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tests.c') diff --git a/tests.c b/tests.c index f4a047d..24db2fc 100644 --- a/tests.c +++ b/tests.c @@ -2,17 +2,15 @@ #include "minitest.h" #include "config-parser.c" #include "intmath.c" +#include "formatting.c" int tests_run = 0; int tests_failed = 0; -void intmath_tests(); -void main_tests(); - int main() { printf("[INFO] Running tests...\n\n"); - printf("[INFO] Running main-tests...\n"); + printf("[INFO] Running parsing-tests...\n"); parsing_tests(); printf("\n"); @@ -20,6 +18,10 @@ int main() { intmath_tests(); printf("\n"); + printf("[INFO] Running formatting-tests...\n"); + formatting_tests(); + printf("\n"); + mt_test_report(); return tests_failed != 0; -- cgit v1.2.3