test/dlist_tests.h

Wed, 27 Feb 2013 13:53:28 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 27 Feb 2013 13:53:28 +0100
changeset 96
fbbff331beba
parent 90
ef3163857e88
child 103
08018864fb91
permissions
-rw-r--r--

added sstrtrim

9
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
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
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
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
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
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
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
15
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_dlist_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_dlist_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_dlist_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_dlist_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_dlist_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_dlist_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_dlist_first);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
31 UCX_TEST_DECLARE(test_ucx_dlist_last);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
32 UCX_TEST_DECLARE(test_ucx_dlist_get);
90
ef3163857e88 added tests for ucx_(d)list_contains
Mike Becker <universe@uap-core.de>
parents: 59
diff changeset
33 UCX_TEST_DECLARE(test_ucx_dlist_contains);
59
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
34 UCX_TEST_DECLARE(test_ucx_dlist_remove);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
35 UCX_TEST_DECLARE(test_ucx_dlist_clone);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 36
diff changeset
36 UCX_TEST_DECLARE(test_ucx_dlist_sort);
9
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 #ifdef __cplusplus
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
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
41
27
22644e2572bc removed old foreach + refactored list tests
Mike Becker <universe@uap-core.de>
parents: 19
diff changeset
42 #endif /* DLIST_TESTS_H */
9
013c5c4b7e44 Added dlist tests
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
43

mercurial