From 1d87ea69bc4d2ebce2746d0d387dbfbdf0db4a66 Mon Sep 17 00:00:00 2001 From: Max Perschke Date: Mon, 19 Oct 2026 22:45:53 +0200 Subject: [PATCH] =?UTF-8?q?gametest.c=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Startcode/gametest.c | 7 +------ Startcode/unit_tests.c | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Startcode/gametest.c b/Startcode/gametest.c index 588422d..0af2b59 100644 --- a/Startcode/gametest.c +++ b/Startcode/gametest.c @@ -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); diff --git a/Startcode/unit_tests.c b/Startcode/unit_tests.c index 34b07ed..b6b8423 100644 --- a/Startcode/unit_tests.c +++ b/Startcode/unit_tests.c @@ -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");