second implementation for input and fix unit_tests

This commit is contained in:
hoangto105860 committed 2026-10-24 15:49:59 +02:00
1 parent aef73683bc
commit 187e626191
5 files changed
+39 -33

No files matched your search

+2
View File
@@ -49,6 +49,8 @@ void test_readWords_with_delimiters(void) {
int count = readWords(f, words, 10);
fclose(f);
char cwd[PATH_MAX];
TEST_ASSERT_EQUAL_INT(3, count);
TEST_ASSERT_EQUAL_STRING("HUND", words[0]);
TEST_ASSERT_EQUAL_STRING("KATZE", words[1]);