|
|
@ -50,5 +50,11 @@ void testZaehleBuchstaben_Leereswort(void) { |
|
|
|
TEST_ASSERT_EQUAL_INT(0, anzahl2); |
|
|
|
} |
|
|
|
|
|
|
|
void testUmdrehenWort_normalesWort(void) { |
|
|
|
// Testfall 1: Umdrehen eines normalen Wortes |
|
|
|
char wort1[] = "Hello"; |
|
|
|
umdrehenWort(wort1); |
|
|
|
TEST_ASSERT_EQUAL_STRING("olleH", wort1); |
|
|
|
} |
|
|
|
|
|
|
|
#endif // TEST |