summaryrefslogtreecommitdiff
path: root/src/test/test_main.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2021-09-28 22:49:17 -0500
committersanine <sanine.not@pm.me>2021-09-28 22:51:52 -0500
commitd356c9bb873092e9d8ed53ee5f15a560accbf5bb (patch)
tree0be0d855bf0b5819e88276fa1fc2cc04f58f8c16 /src/test/test_main.c
parent0e8f26743214b903f66eb732e4a8c151213d61e1 (diff)
add multiple data types test and move mock queue cleanup and init into tests_main.c
Diffstat (limited to 'src/test/test_main.c')
-rw-r--r--src/test/test_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_main.c b/src/test/test_main.c
index a4e776a..a3763be 100644
--- a/src/test/test_main.c
+++ b/src/test/test_main.c
@@ -1,14 +1,18 @@
#include "minunit.h"
#include "suites.h"
+#include "mock_queue.h"
int tests_run = 0;
int tests_failed = 0;
int main()
{
+ mock_queue_init();
printf("~~~~~~~~ running tests ~~~~~~~~\n\n");
RUN_TESTS;
printf("~~~~~~~~~ tests done ~~~~~~~~~~\n\n");
mu_tests_finished();
+
+ mock_queue_cleanup();
}