6 */ |
6 */ |
7 |
7 |
8 #ifndef LIST_TESTS_H |
8 #ifndef LIST_TESTS_H |
9 #define LIST_TESTS_H |
9 #define LIST_TESTS_H |
10 |
10 |
|
11 #include "main.h" |
|
12 |
|
13 #include "ucx/list.h" |
|
14 #include "ucx/test.h" |
|
15 |
11 #ifdef __cplusplus |
16 #ifdef __cplusplus |
12 extern "C" { |
17 extern "C" { |
13 #endif |
18 #endif |
14 |
19 |
15 int dlist_tests(); |
20 /* |
|
21 * Assumed to be correct: |
|
22 * ucx_list_free |
|
23 */ |
16 |
24 |
|
25 UCX_TEST_DECLARE(test_ucx_list_append) |
|
26 UCX_TEST_DECLARE(test_ucx_list_prepend) |
|
27 UCX_TEST_DECLARE(test_ucx_list_equals) |
|
28 UCX_TEST_DECLARE(test_ucx_list_concat) |
|
29 UCX_TEST_DECLARE(test_ucx_list_size) |
|
30 UCX_TEST_DECLARE(test_ucx_list_last) |
|
31 UCX_TEST_DECLARE(test_ucx_list_get) |
|
32 UCX_TEST_DECLARE(test_ucx_list_remove) |
|
33 UCX_TEST_DECLARE(test_ucx_list_clone) |
17 |
34 |
18 #ifdef __cplusplus |
35 #ifdef __cplusplus |
19 } |
36 } |
20 #endif |
37 #endif |
21 |
38 |