list: Permet d'insérer et de récupérer la taille
This commit is contained in:
1 parent
03b7ee8494
commit
cb6d978cad
4 files changed
+33
No files matched your search
@@ -5,6 +5,9 @@
|
||||
|
||||
int main(void) {
|
||||
LinkedList list = createLinkedList();
|
||||
insertAtListHead(&list, 5);
|
||||
insertAtListHead(&list, 9);
|
||||
assert(linkedListLength(list) == 2);
|
||||
freeLinkedList(&list);
|
||||
printf("Success!\n");
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user