|
@ -7,7 +7,7 @@ void setUp(void) {} |
|
|
|
|
|
|
|
|
void tearDown(void) {} |
|
|
void tearDown(void) {} |
|
|
|
|
|
|
|
|
void test_Buchstabe_im_zu_erratenden_wort_eingabe_j_in_leerstring_falsch() { |
|
|
|
|
|
|
|
|
void test_buchstabe_im_zu_erratenden_wort_eingabe_j_in_leerstring_falsch() { |
|
|
// arrange |
|
|
// arrange |
|
|
int expected = 1; |
|
|
int expected = 1; |
|
|
int actual; |
|
|
int actual; |
|
@ -15,7 +15,7 @@ void test_Buchstabe_im_zu_erratenden_wort_eingabe_j_in_leerstring_falsch() { |
|
|
char secret_word[100] = ""; |
|
|
char secret_word[100] = ""; |
|
|
|
|
|
|
|
|
// act |
|
|
// act |
|
|
actual = Buchstabe_im_zu_erratenden_wort(guessed_letter, secret_word); |
|
|
|
|
|
|
|
|
actual = buchstabe_im_zu_erratenden_wort(guessed_letter, secret_word); |
|
|
|
|
|
|
|
|
// assert |
|
|
// assert |
|
|
TEST_ASSERT_EQUAL_INT(expected, actual); |
|
|
TEST_ASSERT_EQUAL_INT(expected, actual); |
|
|