From dbd68d4a907b944ef5bfa6c29c64cca944833e6a Mon Sep 17 00:00:00 2001 From: fdai7727 Date: Thu, 25 Jan 2024 19:51:28 +0100 Subject: [PATCH] =?UTF-8?q?Schreiben=20der=20Tests=20zu=20dem=20Testfall?= =?UTF-8?q?=20Gro=C3=9F-undKleinschreibung=20unterschiedlich=20f=C3=BCr=20?= =?UTF-8?q?wordGuessed()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/c/Tim/test_hangman.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/test/c/Tim/test_hangman.c b/src/test/c/Tim/test_hangman.c index dc449e0..3701b67 100644 --- a/src/test/c/Tim/test_hangman.c +++ b/src/test/c/Tim/test_hangman.c @@ -70,5 +70,13 @@ void test_not_wordGuessed() TEST_ASSERT_FALSE(wordGuessed(word1, word2)); } +void test_wordGuessed_differentCaps() +{ + //arrange + char word1[] ="Kartoffel"; + char word2[] ="karTOFFel"; + //assert + TEST_ASSERT_FALSE(wordGuessed(word1, word2)); +}