Thu, 04 Oct 2012 14:08:31 +0200
simplified UCX_MAP_FOREACH
9 | 1 | /* |
2 | * File: list_tests.h | |
3 | * Author: olaf | |
4 | * | |
5 | * Created on 31. Dezember 2011, 18:07 | |
6 | */ | |
7 | ||
8 | #ifndef LIST_TESTS_H | |
9 | #define LIST_TESTS_H | |
10 | ||
27
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/list.h" |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
14 | #include "ucx/test.h" |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
15 | |
9 | 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_list_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_list_append) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
26 | UCX_TEST_DECLARE(test_ucx_list_prepend) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
27 | UCX_TEST_DECLARE(test_ucx_list_equals) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
28 | UCX_TEST_DECLARE(test_ucx_list_concat) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
29 | UCX_TEST_DECLARE(test_ucx_list_size) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
30 | UCX_TEST_DECLARE(test_ucx_list_last) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
31 | UCX_TEST_DECLARE(test_ucx_list_get) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
32 | UCX_TEST_DECLARE(test_ucx_list_remove) |
22644e2572bc
removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents:
19
diff
changeset
|
33 | UCX_TEST_DECLARE(test_ucx_list_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
|
34 | UCX_TEST_DECLARE(test_ucx_list_sort) |
9 | 35 | |
36 | #ifdef __cplusplus | |
37 | } | |
38 | #endif | |
39 | ||
40 | #endif /* LIST_TESTS_H */ | |
41 |