58 |
58 |
59 UCX_TEST_ASSERT(strncmp(list->data, "Hello", 5) == 0, "failed") |
59 UCX_TEST_ASSERT(strncmp(list->data, "Hello", 5) == 0, "failed") |
60 UCX_TEST_ASSERT(strncmp(list->next->data, " World!", 7) == 0, "failed") |
60 UCX_TEST_ASSERT(strncmp(list->next->data, " World!", 7) == 0, "failed") |
61 UCX_TEST_ASSERT(list->next->next == NULL, "failed") |
61 UCX_TEST_ASSERT(list->next->next == NULL, "failed") |
62 |
62 |
63 ucx_dlist_free(list2); |
|
64 ucx_dlist_free(list); |
63 ucx_dlist_free(list); |
65 |
64 |
66 UCX_TEST_END |
65 UCX_TEST_END |
67 } |
66 } |
68 |
67 |