From 5a6d13d629286a83d61fd2a07a1934939b2d7a75 Mon Sep 17 00:00:00 2001 From: lpaucot_uclouvain <laurent.paucot@student.uclouvain.be> Date: Thu, 19 Mar 2020 08:40:53 +0100 Subject: [PATCH] =?UTF-8?q?plus=20l=C3=A9ger=20=C3=A0=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- expected_output.txt | 1 - input.txt | 1 - test.c | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/expected_output.txt b/expected_output.txt index f87b24f..e835268 100644 --- a/expected_output.txt +++ b/expected_output.txt @@ -3,4 +3,3 @@ 100 5 2 1225 7 5 5946 991 3 2 -198354 2543 13 3 2 diff --git a/input.txt b/input.txt index 89bd677..71291a7 100644 --- a/input.txt +++ b/input.txt @@ -3,4 +3,3 @@ 100 1225 5946 -198354 diff --git a/test.c b/test.c index bdef258..d2905f5 100644 --- a/test.c +++ b/test.c @@ -44,8 +44,8 @@ void file_test(void){ while (fgets(chaine1,50,file1) != NULL && fgets(chaine2,50,file2) != NULL) { - /* printf("%d\n",chaine1[2]); - printf("%d\n",chaine2[2]); */ + printf("%s\n",chaine1); + printf("%s\n",chaine2); CU_ASSERT_STRING_EQUAL(chaine1,chaine2); } -- GitLab