| 47 | } |
| 48 | |
| 49 | TEST(DoublyLinkedList, CallocAllocatorCreateTest) { |
| 50 | int test_data = 8; |
| 51 | DoublyLinkedListNode *node = DoublyLinkedListNodeCreate(&test_data, |
| 52 | CallocAllocator); |
| 53 | CHECK_EQUAL( test_data, *( (int *)node->data ) ); |
| 54 | CallocDeallocator(&node); |
| 55 | } |
| 56 | |
| 57 | TEST(DoublyLinkedList, CallocFreeTest) { |
| 58 | int test_data = 8; |
nothing calls this directly
no test coverage detected