test/list_tests.h

Fri, 12 Oct 2012 10:54:55 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 12 Oct 2012 10:54:55 +0200
changeset 69
fb59270b1de3
parent 59
c80c910fe191
child 90
ef3163857e88
permissions
-rw-r--r--

made the code work with VC++ compiler (use make CONF=windows)

9
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 /*
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 * File: list_tests.h
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 * Author: olaf
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4 *
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 * Created on 31. Dezember 2011, 18:07
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6 */
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
8 #ifndef LIST_TESTS_H
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
9 #define LIST_TESTS_H
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
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
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
16 #ifdef __cplusplus
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
17 extern "C" {
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
18 #endif
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
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
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
24
59
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
25 UCX_TEST_DECLARE(test_ucx_list_append);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
26 UCX_TEST_DECLARE(test_ucx_list_prepend);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
27 UCX_TEST_DECLARE(test_ucx_list_equals);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
28 UCX_TEST_DECLARE(test_ucx_list_concat);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
29 UCX_TEST_DECLARE(test_ucx_list_size);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
30 UCX_TEST_DECLARE(test_ucx_list_last);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
31 UCX_TEST_DECLARE(test_ucx_list_get);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
32 UCX_TEST_DECLARE(test_ucx_list_remove);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
33 UCX_TEST_DECLARE(test_ucx_list_clone);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
34 UCX_TEST_DECLARE(test_ucx_list_sort);
9
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
35
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
36 #ifdef __cplusplus
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
37 }
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
38 #endif
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
39
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
40 #endif /* LIST_TESTS_H */
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
41

mercurial