aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Converter/src/main.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/Converter/src/main.c b/Converter/src/main.c
index 7ca85e8..8d03c02 100644
--- a/Converter/src/main.c
+++ b/Converter/src/main.c
@@ -1,9 +1,17 @@
#include "../includes/compiler.h"
+#include "../includes/test.h"
#include <malloc.h>
#include <stdio.h>
#include <string.h>
-int main()
+int main(int argc, char *argv[])
{
- return 0;
+ if (argc > 1)
+ {
+ if (strncmp(argv[1], "--test", 7) == 0)
+ {
+ // run tests
+ test_header_depths();
+ }
+ }
}