|
1 /* |
|
2 * File: dlist_tests.h |
|
3 * Author: Mike |
|
4 * |
|
5 * Created on 18. Februar 2012, 18:26 |
|
6 */ |
|
7 |
|
8 #ifndef DLIST_TESTS_H |
|
9 #define DLIST_TESTS_H |
|
10 |
|
11 #include "main.h" |
|
12 |
|
13 #include "ucx/dlist.h" |
|
14 #include "ucx/test.h" |
|
15 |
|
16 #ifdef __cplusplus |
|
17 extern "C" { |
|
18 #endif |
|
19 |
|
20 /* |
|
21 * Assumed to be correct: |
|
22 * ucx_dlist_free |
|
23 */ |
|
24 |
|
25 UCX_TEST_DECLARE(test_ucx_dlist_append) |
|
26 UCX_TEST_DECLARE(test_ucx_dlist_prepend) |
|
27 UCX_TEST_DECLARE(test_ucx_dlist_equals) |
|
28 UCX_TEST_DECLARE(test_ucx_dlist_concat) |
|
29 UCX_TEST_DECLARE(test_ucx_dlist_size) |
|
30 UCX_TEST_DECLARE(test_ucx_dlist_first) |
|
31 UCX_TEST_DECLARE(test_ucx_dlist_last) |
|
32 UCX_TEST_DECLARE(test_ucx_dlist_get) |
|
33 UCX_TEST_DECLARE(test_ucx_dlist_remove) |
|
34 UCX_TEST_DECLARE(test_ucx_dlist_clone) |
|
35 |
|
36 #ifdef __cplusplus |
|
37 } |
|
38 #endif |
|
39 |
|
40 #endif /* DLIST_TESTS_H */ |
|
41 |