|
|
@ -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() |
|
|
|