test/dlist_tests.h

Thu, 16 Aug 2012 11:31:16 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 16 Aug 2012 11:31:16 +0200
changeset 36
a9d656e4f7ce
parent 35
fdabd1240b69
child 59
c80c910fe191
permissions
-rw-r--r--

changed API of sort algorithms (no further hint for the algorithms used in preparation for the upcomming change from qsort to natural merge sort)

     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)
    35 UCX_TEST_DECLARE(test_ucx_dlist_sort)
    37 #ifdef	__cplusplus
    38 }
    39 #endif
    41 #endif	/* DLIST_TESTS_H */

mercurial