diff --git a/src/test/c/Tim/test_hangman.c b/src/test/c/Tim/test_hangman.c index bfbe9c6..bc1048b 100644 --- a/src/test/c/Tim/test_hangman.c +++ b/src/test/c/Tim/test_hangman.c @@ -108,7 +108,7 @@ void test_letterGuessed_sameCaps_small() //assert TEST_ASSERT_TRUE(letterGuessed(x,y,length)); } -void test_letterGuessed_differentLetter() +void test_letterGuessed_differentLetter_small() { //arrange char x ='p'; @@ -117,6 +117,15 @@ void test_letterGuessed_differentLetter() //assert TEST_ASSERT_FALSE(letterGuessed(x,y,length)); } +void test_letterGuessed_differentLetter_big() +{ + //arrange + char x ='P'; + char y[] ="Kartoffel"; + int length = 9; + //assert + TEST_ASSERT_FALSE(letterGuessed(x,y,length)); +} void test_letterGuessed_sameCaps_big()