Browse Source

Merge branch 'dev'

main
fdai7727 11 months ago
parent
commit
a18c62078b
  1. 6
      src/test/c/Tim/test_hangman.c

6
src/test/c/Tim/test_hangman.c

@ -95,11 +95,11 @@ void test_wordGuessed_differentCaps()
void test_letterGuessed_differentCaps_small_big() void test_letterGuessed_differentCaps_small_big()
{ {
//arrange //arrange
char x ='F';
char y[] ="Kartoffel";
char bigLetter ='F';
char wordWithSmallLetter[] ="Kartoffel";
int length = 9; int length = 9;
//assert //assert
TEST_ASSERT_TRUE(letterGuessed(x,y,length));
TEST_ASSERT_TRUE(letterGuessed(bigLetter,wordWithSmallLetter,length));
} }
void test_letterGuessed_differentCaps_big_small() void test_letterGuessed_differentCaps_big_small()

Loading…
Cancel
Save