test/list_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
cdd7a3173249
child 35
fdabd1240b69
permissions
-rw-r--r--

removed old foreach + refactored list tests

     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)
    35 #ifdef	__cplusplus
    36 }
    37 #endif
    39 #endif	/* LIST_TESTS_H */

mercurial