diff options
Diffstat (limited to 'tests/test.c')
| -rw-r--r-- | tests/test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test.c b/tests/test.c index c122db8..2055c78 100644 --- a/tests/test.c +++ b/tests/test.c | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #include <stdio.h> | 1 | #include "test.h" |
| 2 | #include "fst_tests.h" | ||
| 3 | 2 | ||
| 4 | static bool run_test(Test *); | 3 | static bool run_test(Test *); |
| 5 | static bool run_suite(TestSuite *); | 4 | static bool run_suite(TestSuite *); |
| @@ -38,6 +37,9 @@ run_suite(TestSuite *suite) | |||
| 38 | } | 37 | } |
| 39 | 38 | ||
| 40 | int main() { | 39 | int main() { |
| 40 | init_env(); | ||
| 41 | init_trans(); | ||
| 42 | |||
| 41 | if (!run_suite(&fst_pre_init_suite)) | 43 | if (!run_suite(&fst_pre_init_suite)) |
| 42 | return 1; | 44 | return 1; |
| 43 | if (!run_suite(&fst_post_init_suite)) | 45 | if (!run_suite(&fst_post_init_suite)) |
