aboutsummaryrefslogtreecommitdiff
path: root/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests.c')
-rw-r--r--tests.c10
1 files changed, 6 insertions, 4 deletions
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;