1.1 --- a/test/list_tests.c Fri Nov 18 15:17:04 2016 +0100 1.2 +++ b/test/list_tests.c Fri Nov 18 15:33:58 2016 +0100 1.3 @@ -89,28 +89,6 @@ 1.4 ucx_list_free(list); 1.5 } 1.6 1.7 -UCX_TEST(test_ucx_list_prepend_once) { 1.8 - UcxList *list, *last, *first; 1.9 - list = last = ucx_list_prepend_once(NULL, (void*)" World!", 1.10 - ucx_strcmp, NULL); 1.11 - UCX_TEST_BEGIN 1.12 - 1.13 - list = ucx_list_prepend_once(list, (void*)"Hello", ucx_strcmp, NULL); 1.14 - first = ucx_list_prepend_once(list, (void*)"Hello", ucx_strcmp, NULL); 1.15 - 1.16 - UCX_TEST_ASSERT(list == first, "'Hello' was not prepended _once_"); 1.17 - UCX_TEST_ASSERT(first == last->prev, "does not return first element"); 1.18 - UCX_TEST_ASSERT(strncmp((const char*)list->data, "Hello", 5) == 0, 1.19 - "failed"); 1.20 - UCX_TEST_ASSERT(strncmp((const char*)list->next->data, " World!", 7) == 0, 1.21 - "failed"); 1.22 - UCX_TEST_ASSERT(list->next->next == NULL, "right not terminated"); 1.23 - UCX_TEST_ASSERT(list->prev == NULL, "left not terminated"); 1.24 - 1.25 - UCX_TEST_END 1.26 - ucx_list_free(list); 1.27 -} 1.28 - 1.29 UCX_TEST(test_ucx_list_equals) { 1.30 const char *hello = "Hello"; 1.31 const char *world = " World!";