test/list_tests.h

Wed, 27 Feb 2013 10:28:02 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 27 Feb 2013 10:28:02 +0100
changeset 90
ef3163857e88
parent 59
c80c910fe191
child 103
08018864fb91
permissions
-rw-r--r--

added tests for ucx_(d)list_contains

     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_contains);
    33 UCX_TEST_DECLARE(test_ucx_list_remove);
    34 UCX_TEST_DECLARE(test_ucx_list_clone);
    35 UCX_TEST_DECLARE(test_ucx_list_sort);
    37 #ifdef	__cplusplus
    38 }
    39 #endif
    41 #endif	/* LIST_TESTS_H */

mercurial