Fri, 05 Oct 2012 11:55:36 +0200
Merge with 22fb97e9f58a0a8b18db7f81b7392dae0cd64571
9 | 1 | /* |
27
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
2 | * File: dlist_tests.h |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
3 | * Author: Mike |
9 | 4 | * |
27
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
5 | * Created on 18. Februar 2012, 18:26 |
9 | 6 | */ |
7 | ||
27
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
8 | #ifndef DLIST_TESTS_H |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
9 | #define DLIST_TESTS_H |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
10 | |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
11 | #include "main.h" |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
12 | |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
13 | #include "ucx/dlist.h" |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
14 | #include "ucx/test.h" |
9 | 15 | |
16 | #ifdef __cplusplus | |
17 | extern "C" { | |
18 | #endif | |
19 | ||
27
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
20 | /* |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
21 | * Assumed to be correct: |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
22 | * ucx_dlist_free |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
23 | */ |
9 | 24 | |
27
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
25 | UCX_TEST_DECLARE(test_ucx_dlist_append) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
26 | UCX_TEST_DECLARE(test_ucx_dlist_prepend) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
27 | UCX_TEST_DECLARE(test_ucx_dlist_equals) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
28 | UCX_TEST_DECLARE(test_ucx_dlist_concat) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
29 | UCX_TEST_DECLARE(test_ucx_dlist_size) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
30 | UCX_TEST_DECLARE(test_ucx_dlist_first) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
31 | UCX_TEST_DECLARE(test_ucx_dlist_last) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
32 | UCX_TEST_DECLARE(test_ucx_dlist_get) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
33 | UCX_TEST_DECLARE(test_ucx_dlist_remove) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
34 | UCX_TEST_DECLARE(test_ucx_dlist_clone) |
36
a9d656e4f7ce
changed API of sort algorithms (no further hint for the algorithms used in preparation for the upcomming change from qsort to natural merge sort)
Mike Becker <universe@uap-core.de>
parents:
35
diff
changeset
|
35 | UCX_TEST_DECLARE(test_ucx_dlist_sort) |
9 | 36 | |
37 | #ifdef __cplusplus | |
38 | } | |
39 | #endif | |
40 | ||
27
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
41 | #endif /* DLIST_TESTS_H */ |
9 | 42 |