summaryrefslogtreecommitdiff
path: root/tests/main.c
blob: 062e5f80bdf6d1cd2acad14fe7fdd96e6943d074 (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 <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <stdlib.h>

#include "lily-test.h"
#include "tests.h"

int main()
{
   lily_init();
   
   run_test(test_LILY_LOCATION);
   run_test(test_assert_msg);
   run_test(test_assert_true);
   run_test(test_assert_false);
   run_test(test_assert_not_null);
   run_test(test_assert_null);
   run_test(test_assert_ptr_equal);
   run_test(test_assert_ptr_not_equal);
   run_test(test_assert_int_equal);
   run_test(test_assert_int_not_equal);

   run_test(test_mock_enqueue_dequeue_int);
   run_test(test_mock_enqueue_dequeue_heterogenous);
   
   return 0;
}