aboutsummaryrefslogtreecommitdiff
path: root/tests.c
diff options
context:
space:
mode:
authorJoel Kronqvist <joelkronqvist@proton.me>2024-04-07 10:53:40 +0300
committerJoel Kronqvist <joelkronqvist@proton.me>2024-04-07 10:53:40 +0300
commitf975594e55bdc05ee436bc7bdcd6e09aec5357b1 (patch)
treee1ddb07ab967bbe9eb6a14865e7413b9b2e1ea0c /tests.c
parent1ef526c695df4b37aa184867fb5b62c93118aa02 (diff)
downloadstdu-f975594e55bdc05ee436bc7bdcd6e09aec5357b1.tar.gz
stdu-f975594e55bdc05ee436bc7bdcd6e09aec5357b1.zip
Finished implementation for formatting for human readability
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;