test nouvelle version workflow
Tests Basics avec Criterion / test (push) Failing after 6s

This commit is contained in:
2026-04-02 22:26:39 +02:00
parent 97fa4e5c8b
commit a3142bf861
2 changed files with 29 additions and 4 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#include <criterion/internal/assert.h>
#include <stdlib.h>
#include "../Chains_across_the_Island/Fundamentals/basics/basics.h"
#include <stdio.h>
// Test pour list_append
Test(basics_suite, test_append) {
struct list *l = NULL;
@@ -31,6 +31,7 @@ Test(basics_suite, test_count) {
l = list_append(l, 30);
cr_assert_eq(list_count(l), 3, "La liste doit contenir 3 éléments.");
list_destroy(l);
}
@@ -69,7 +70,6 @@ Test(basics_suite, test_get){
cr_assert_null(rslt, "Le pointeur doit etre null");
list_destroy(l);
// On ne détruit SURTOUT PAS rslt ici, car il appartient déjà à l !
}
//Test list_find