diff --git a/expected_output.txt b/expected_output.txt index f87b24f4501806131f532c3a56cdfc5cf2d02924..e835268d0bf6157586df2bf2fc7c84565deb85b6 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 89bd67736f59fc9a3509322ac38ba92fe3c54285..71291a7cbb124046a21a6e1e04a529e60d36d5aa 100644 --- a/input.txt +++ b/input.txt @@ -3,4 +3,3 @@ 100 1225 5946 -198354 diff --git a/test.c b/test.c index bdef2584b6c6f8bbc5e5036e663e2e8de81ccfcb..d2905f57d62bbb7fd568cc910fc7f97f6b26201c 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); }