--- /dev/null
+#include <stdio.h>
+
+#include "clist.h"
+
+int main() {
+ link_t* head = list_new(1);
+ printf("Longueur de la liste: %d\n", list_count(head));
+ list_append(head, 2);
+ list_append(head, 3);
+ list_append(head, 4);
+ printf("Longueur de la liste: %d\n", list_count(head));
+ printf("Valeur a index %d: %d\n", 2, list_get(head, 2));
+ printf("Valeur a index %d: %d\n", 3, list_get(head, 3));
+ printf("Valeur a index %d: %d\n", 4, list_get(head, 4));
+ list_clear(head);
+
+ return 0;
+}