Thu, 16 Aug 2012 11:31:16 +0200
changed API of sort algorithms (no further hint for the algorithms used in preparation for the upcomming change from qsort to natural merge sort)
1 /*
2 * File: list_tests.h
3 * Author: olaf
4 *
5 * Created on 31. Dezember 2011, 18:07
6 */
8 #ifndef LIST_TESTS_H
9 #define LIST_TESTS_H
11 #include "main.h"
13 #include "ucx/list.h"
14 #include "ucx/test.h"
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 /*
21 * Assumed to be correct:
22 * ucx_list_free
23 */
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)
34 UCX_TEST_DECLARE(test_ucx_list_sort)
36 #ifdef __cplusplus
37 }
38 #endif
40 #endif /* LIST_TESTS_H */