diff options
Diffstat (limited to 'tests/main.c')
| -rw-r--r-- | tests/main.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/main.c b/tests/main.c new file mode 100644 index 0000000..49ac448 --- /dev/null +++ b/tests/main.c @@ -0,0 +1,13 @@ +#include <stdio.h> + +#include "tests.h" + +int main(void) +{ + struct TestContext context = { 0, 0 }; + + run_lexer_tests(&context); + + printf("\n%d checks, %d failure(s)\n", context.checks, context.failures); + return context.failures == 0 ? 0 : 1; +} |
