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

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

mercurial