Sat, 18 Feb 2012 18:36:30 +0100
removed old foreach + refactored list tests
olaf@9 | 1 | /* |
olaf@9 | 2 | * File: list_tests.h |
olaf@9 | 3 | * Author: olaf |
olaf@9 | 4 | * |
olaf@9 | 5 | * Created on 31. Dezember 2011, 18:07 |
olaf@9 | 6 | */ |
olaf@9 | 7 | |
olaf@9 | 8 | #ifndef LIST_TESTS_H |
olaf@9 | 9 | #define LIST_TESTS_H |
olaf@9 | 10 | |
universe@27 | 11 | #include "main.h" |
universe@27 | 12 | |
universe@27 | 13 | #include "ucx/list.h" |
universe@27 | 14 | #include "ucx/test.h" |
universe@27 | 15 | |
olaf@9 | 16 | #ifdef __cplusplus |
olaf@9 | 17 | extern "C" { |
olaf@9 | 18 | #endif |
olaf@9 | 19 | |
universe@27 | 20 | /* |
universe@27 | 21 | * Assumed to be correct: |
universe@27 | 22 | * ucx_list_free |
universe@27 | 23 | */ |
olaf@9 | 24 | |
universe@27 | 25 | UCX_TEST_DECLARE(test_ucx_list_append) |
universe@27 | 26 | UCX_TEST_DECLARE(test_ucx_list_prepend) |
universe@27 | 27 | UCX_TEST_DECLARE(test_ucx_list_equals) |
universe@27 | 28 | UCX_TEST_DECLARE(test_ucx_list_concat) |
universe@27 | 29 | UCX_TEST_DECLARE(test_ucx_list_size) |
universe@27 | 30 | UCX_TEST_DECLARE(test_ucx_list_last) |
universe@27 | 31 | UCX_TEST_DECLARE(test_ucx_list_get) |
universe@27 | 32 | UCX_TEST_DECLARE(test_ucx_list_remove) |
universe@27 | 33 | UCX_TEST_DECLARE(test_ucx_list_clone) |
olaf@9 | 34 | |
olaf@9 | 35 | #ifdef __cplusplus |
olaf@9 | 36 | } |
olaf@9 | 37 | #endif |
olaf@9 | 38 | |
olaf@9 | 39 | #endif /* LIST_TESTS_H */ |
olaf@9 | 40 |