blob: 24db2fcd89501b6d9f24ec06590b7e41fb0d9ee5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include "minitest.h"
#include "config-parser.c"
#include "intmath.c"
#include "formatting.c"
int tests_run = 0;
int tests_failed = 0;
int main() {
printf("[INFO] Running tests...\n\n");
printf("[INFO] Running parsing-tests...\n");
parsing_tests();
printf("\n");
printf("[INFO] Running intmath-tests...\n");
intmath_tests();
printf("\n");
printf("[INFO] Running formatting-tests...\n");
formatting_tests();
printf("\n");
mt_test_report();
return tests_failed != 0;
}
|