Browse Source

Schreiben der Tests zu dem Testfall Groß-undKleinschreibung unterschiedlich für wordGuessed()

remotes/origin/tim
fdai7727 11 months ago
parent
commit
dbd68d4a90
  1. 8
      src/test/c/Tim/test_hangman.c

8
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));
}
Loading…
Cancel
Save