list: Permet d'insérer et de récupérer la taille
This commit is contained in:
@@ -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