|
|
@ -4,6 +4,7 @@ |
|
|
|
|
|
|
|
#include "inputHandling.h" |
|
|
|
char halloWelt[]="Hallo Welt"; |
|
|
|
char halloWelt2[]="Hallo Welt"; |
|
|
|
|
|
|
|
void setUp(void) |
|
|
|
{ |
|
|
@ -19,4 +20,10 @@ void test_inputHandling_deleteOneWhiteSpace(void) |
|
|
|
TEST_ASSERT_EQUAL_STRING("HalloWelt", halloWelt); |
|
|
|
} |
|
|
|
|
|
|
|
void test_inputHandling_deleteTwoWhiteSpaces(void) |
|
|
|
{ |
|
|
|
deleteWhitespace(halloWelt, 11); |
|
|
|
TEST_ASSERT_EQUAL_STRING("HalloWelt", halloWelt); |
|
|
|
} |
|
|
|
|
|
|
|
#endif // TEST |