some whitespaces cause why not :3
This commit is contained in:
parent
f23d8a1fb4
commit
44dff4d1bb
2 changed files with 6 additions and 0 deletions
|
@ -7,12 +7,15 @@
|
|||
|
||||
void merge_test(void) {
|
||||
LinkedList l1 = linked_list_new(sizeof(uint64_t));
|
||||
|
||||
for (size_t i = 0; i < 10; ++i) {
|
||||
uint64_t val = (uint64_t)rand() % 1000;
|
||||
printf("%zu: inserting %ld into l1\n", i, val);
|
||||
linked_list_insert(&l1, &val);
|
||||
}
|
||||
|
||||
LinkedList l2 = linked_list_new(sizeof(uint64_t));
|
||||
|
||||
for (size_t i = 0; i < 10; ++i) {
|
||||
uint64_t val = (uint64_t)rand() % 1000;
|
||||
printf("%zu: inserting %ld into l2\n", i, val);
|
||||
|
|
|
@ -7,12 +7,15 @@
|
|||
|
||||
void merge_test(void) {
|
||||
DoublyLinkedList l1 = doubly_linked_list_new(sizeof(uint64_t));
|
||||
|
||||
for (size_t i = 0; i < 10; ++i) {
|
||||
uint64_t val = (uint64_t)rand() % 1000;
|
||||
printf("%zu: inserting %ld into l1\n", i, val);
|
||||
doubly_linked_list_insert(&l1, &val);
|
||||
}
|
||||
|
||||
DoublyLinkedList l2 = doubly_linked_list_new(sizeof(uint64_t));
|
||||
|
||||
for (size_t i = 0; i < 10; ++i) {
|
||||
uint64_t val = (uint64_t)rand() % 1000;
|
||||
printf("%zu: inserting %ld into l2\n", i, val);
|
||||
|
|
Loading…
Reference in a new issue