diff options
author | Joel Kronqvist <joelkronqvist@proton.me> | 2024-04-07 10:53:40 +0300 |
---|---|---|
committer | Joel Kronqvist <joelkronqvist@proton.me> | 2024-04-07 10:53:40 +0300 |
commit | f975594e55bdc05ee436bc7bdcd6e09aec5357b1 (patch) | |
tree | e1ddb07ab967bbe9eb6a14865e7413b9b2e1ea0c /tests.c | |
parent | 1ef526c695df4b37aa184867fb5b62c93118aa02 (diff) | |
download | stdu-f975594e55bdc05ee436bc7bdcd6e09aec5357b1.tar.gz stdu-f975594e55bdc05ee436bc7bdcd6e09aec5357b1.zip |
Finished implementation for formatting for human readability
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; |