|
@ -86,9 +86,8 @@ void test_letterGuessed_differentCaps_small_big() |
|
|
char x ='F'; |
|
|
char x ='F'; |
|
|
char y[] ="Kartoffel"; |
|
|
char y[] ="Kartoffel"; |
|
|
int length = 9; |
|
|
int length = 9; |
|
|
char z[] ="_________"; |
|
|
|
|
|
//assert |
|
|
//assert |
|
|
TEST_ASSERT_TRUE(letterGuessed(x,y,length,z)); |
|
|
|
|
|
|
|
|
TEST_ASSERT_TRUE(letterGuessed(x,y,length)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void test_letterGuessed_differentCaps_big_small() |
|
|
void test_letterGuessed_differentCaps_big_small() |
|
@ -97,9 +96,8 @@ void test_letterGuessed_differentCaps_big_small() |
|
|
char x ='k'; |
|
|
char x ='k'; |
|
|
char y[] ="Kartoffel"; |
|
|
char y[] ="Kartoffel"; |
|
|
int length = 9; |
|
|
int length = 9; |
|
|
char z[] ="_________"; |
|
|
|
|
|
//assert |
|
|
//assert |
|
|
TEST_ASSERT_TRUE(letterGuessed(x,y,length,z)); |
|
|
|
|
|
|
|
|
TEST_ASSERT_TRUE(letterGuessed(x,y,length)); |
|
|
} |
|
|
} |
|
|
void test_letterGuessed_sameCaps_small() |
|
|
void test_letterGuessed_sameCaps_small() |
|
|
{ |
|
|
{ |
|
@ -107,9 +105,8 @@ void test_letterGuessed_sameCaps_small() |
|
|
char x ='f'; |
|
|
char x ='f'; |
|
|
char y[] ="Kartoffel"; |
|
|
char y[] ="Kartoffel"; |
|
|
int length = 9; |
|
|
int length = 9; |
|
|
char z[] ="_________"; |
|
|
|
|
|
//assert |
|
|
//assert |
|
|
TEST_ASSERT_TRUE(letterGuessed(x,y,length,z)); |
|
|
|
|
|
|
|
|
TEST_ASSERT_TRUE(letterGuessed(x,y,length)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void test_letterGuessed_sameCaps_big() |
|
|
void test_letterGuessed_sameCaps_big() |
|
@ -118,8 +115,7 @@ void test_letterGuessed_sameCaps_big() |
|
|
char x ='K'; |
|
|
char x ='K'; |
|
|
char y[] ="Kartoffel"; |
|
|
char y[] ="Kartoffel"; |
|
|
int length = 9; |
|
|
int length = 9; |
|
|
char z[] ="_________"; |
|
|
|
|
|
//assert |
|
|
//assert |
|
|
TEST_ASSERT_TRUE(letterGuessed(x,y,length,z)); |
|
|
|
|
|
|
|
|
TEST_ASSERT_TRUE(letterGuessed(x,y,length)); |
|
|
} |
|
|
} |
|
|
|
|
|
|