some whitespaces cause why not :3

This commit is contained in:
jacekpoz 2024-03-11 17:54:19 +01:00
parent f23d8a1fb4
commit 44dff4d1bb
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
2 changed files with 6 additions and 0 deletions

View file

@ -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);

View file

@ -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);