summaryrefslogtreecommitdiff
path: root/tests/main.c
blob: 130650235237c4dc378ce41611e0bbe7224f64cd (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
29
30
#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);
   run_test(test_LILY_NARGS);
   run_test(test_lily_mock_call);

   return 0;
}