diff -r 59f147baea31 -r 22644e2572bc test/list_tests.h --- a/test/list_tests.h Sat Feb 18 15:50:43 2012 +0100 +++ b/test/list_tests.h Sat Feb 18 18:36:30 2012 +0100 @@ -8,12 +8,29 @@ #ifndef LIST_TESTS_H #define LIST_TESTS_H +#include "main.h" + +#include "ucx/list.h" +#include "ucx/test.h" + #ifdef __cplusplus extern "C" { #endif -int dlist_tests(); +/* + * Assumed to be correct: + * ucx_list_free + */ +UCX_TEST_DECLARE(test_ucx_list_append) +UCX_TEST_DECLARE(test_ucx_list_prepend) +UCX_TEST_DECLARE(test_ucx_list_equals) +UCX_TEST_DECLARE(test_ucx_list_concat) +UCX_TEST_DECLARE(test_ucx_list_size) +UCX_TEST_DECLARE(test_ucx_list_last) +UCX_TEST_DECLARE(test_ucx_list_get) +UCX_TEST_DECLARE(test_ucx_list_remove) +UCX_TEST_DECLARE(test_ucx_list_clone) #ifdef __cplusplus }