Browse Source

refactoring: Umbenennen der Variablen eines Test zu verständlicheren Namen

remotes/origin/tim
fdai7727 11 months ago
parent
commit
513091fe1b
  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()
{
//arrange
char x ='F';
char y[] ="Kartoffel";
char bigLetter ='F';
char wordWithSmallLetter[] ="Kartoffel";
int length = 9;
//assert
TEST_ASSERT_TRUE(letterGuessed(x,y,length));
TEST_ASSERT_TRUE(letterGuessed(bigLetter,wordWithSmallLetter,length));
}
void test_letterGuessed_differentCaps_big_small()

Loading…
Cancel
Save