1.1 --- a/test/list_tests.h Sat Feb 18 15:50:43 2012 +0100 1.2 +++ b/test/list_tests.h Sat Feb 18 18:36:30 2012 +0100 1.3 @@ -8,12 +8,29 @@ 1.4 #ifndef LIST_TESTS_H 1.5 #define LIST_TESTS_H 1.6 1.7 +#include "main.h" 1.8 + 1.9 +#include "ucx/list.h" 1.10 +#include "ucx/test.h" 1.11 + 1.12 #ifdef __cplusplus 1.13 extern "C" { 1.14 #endif 1.15 1.16 -int dlist_tests(); 1.17 +/* 1.18 + * Assumed to be correct: 1.19 + * ucx_list_free 1.20 + */ 1.21 1.22 +UCX_TEST_DECLARE(test_ucx_list_append) 1.23 +UCX_TEST_DECLARE(test_ucx_list_prepend) 1.24 +UCX_TEST_DECLARE(test_ucx_list_equals) 1.25 +UCX_TEST_DECLARE(test_ucx_list_concat) 1.26 +UCX_TEST_DECLARE(test_ucx_list_size) 1.27 +UCX_TEST_DECLARE(test_ucx_list_last) 1.28 +UCX_TEST_DECLARE(test_ucx_list_get) 1.29 +UCX_TEST_DECLARE(test_ucx_list_remove) 1.30 +UCX_TEST_DECLARE(test_ucx_list_clone) 1.31 1.32 #ifdef __cplusplus 1.33 }