test/list_tests.h

Fri, 05 Oct 2012 11:52:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 05 Oct 2012 11:52:53 +0200
changeset 48
621a4430c404
parent 36
a9d656e4f7ce
child 59
c80c910fe191
permissions
-rw-r--r--

map can now load values from file into pooled memory

use with care when using a decoder that also allocates memory

     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)
    34 UCX_TEST_DECLARE(test_ucx_list_sort)
    36 #ifdef	__cplusplus
    37 }
    38 #endif
    40 #endif	/* LIST_TESTS_H */

mercurial