gametest.c geändert

This commit is contained in:
perschkema103633 committed 2026-10-19 22:45:53 +02:00
1 parent 9b704552cc
commit 1d87ea69bc
2 files changed
+2 -7

No files matched your search

+1 -6
View File
@@ -14,12 +14,7 @@ int main(void)
unsigned int wordCount = sizeof(words) / sizeof(words[0]);
int placedWords = createWordSalad(
salad,
MAX_SEARCH_FIELD_LEN,
words,
wordCount
);
int placedWords = createWordSalad(salad, MAX_SEARCH_FIELD_LEN, words, wordCount);
printf("Placed words: %d\n", placedWords);
+1 -1
View File
@@ -27,7 +27,7 @@ void print_test_result(int result) {
printf(RED "FAILED\n" RESET);
}
}
// ---------- Tests für input.c ----------
void test_readWords_simple(void) {
FILE *f = fopen("testwords_simple.txt", "r");