339 UCX_TEST_ASSERT(hello != copy->data, "first element is no copy"); |
339 UCX_TEST_ASSERT(hello != copy->data, "first element is no copy"); |
340 UCX_TEST_ASSERT(world != copy->next->data, "second element is no copy"); |
340 UCX_TEST_ASSERT(world != copy->next->data, "second element is no copy"); |
341 |
341 |
342 UCX_TEST_END |
342 UCX_TEST_END |
343 |
343 |
344 ucx_list_free_contents(copy, free); |
344 ucx_list_free_content(copy, free); |
345 |
345 |
346 free(world); |
346 free(world); |
347 free(hello); |
347 free(hello); |
348 ucx_list_free(list); |
348 ucx_list_free(list); |
349 ucx_list_free(copy); |
349 ucx_list_free(copy); |