test/dlist_tests.h

Sat, 18 Feb 2012 18:36:30 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 18 Feb 2012 18:36:30 +0100
changeset 27
22644e2572bc
parent 19
test/list_tests.h@cdd7a3173249
child 35
fdabd1240b69
permissions
-rw-r--r--

removed old foreach + refactored list tests

olaf@9 1 /*
universe@27 2 * File: dlist_tests.h
universe@27 3 * Author: Mike
olaf@9 4 *
universe@27 5 * Created on 18. Februar 2012, 18:26
olaf@9 6 */
olaf@9 7
universe@27 8 #ifndef DLIST_TESTS_H
universe@27 9 #define DLIST_TESTS_H
universe@27 10
universe@27 11 #include "main.h"
universe@27 12
universe@27 13 #include "ucx/dlist.h"
universe@27 14 #include "ucx/test.h"
olaf@9 15
olaf@9 16 #ifdef __cplusplus
olaf@9 17 extern "C" {
olaf@9 18 #endif
olaf@9 19
universe@27 20 /*
universe@27 21 * Assumed to be correct:
universe@27 22 * ucx_dlist_free
universe@27 23 */
olaf@9 24
universe@27 25 UCX_TEST_DECLARE(test_ucx_dlist_append)
universe@27 26 UCX_TEST_DECLARE(test_ucx_dlist_prepend)
universe@27 27 UCX_TEST_DECLARE(test_ucx_dlist_equals)
universe@27 28 UCX_TEST_DECLARE(test_ucx_dlist_concat)
universe@27 29 UCX_TEST_DECLARE(test_ucx_dlist_size)
universe@27 30 UCX_TEST_DECLARE(test_ucx_dlist_first)
universe@27 31 UCX_TEST_DECLARE(test_ucx_dlist_last)
universe@27 32 UCX_TEST_DECLARE(test_ucx_dlist_get)
universe@27 33 UCX_TEST_DECLARE(test_ucx_dlist_remove)
universe@27 34 UCX_TEST_DECLARE(test_ucx_dlist_clone)
olaf@9 35
olaf@9 36 #ifdef __cplusplus
olaf@9 37 }
olaf@9 38 #endif
olaf@9 39
universe@27 40 #endif /* DLIST_TESTS_H */
olaf@9 41

mercurial