diff options
Diffstat (limited to 'tests.c')
-rw-r--r-- | tests.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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; |