test/list_tests.c

changeset 212
c766c423dee6
parent 211
07a284486fa1
child 225
a1a068c2c4ef
equal deleted inserted replaced
211:07a284486fa1 212:c766c423dee6
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);

mercurial