diff --git a/test/test_inputHandling.c b/test/test_inputHandling.c index a6db8f6..eddc48a 100644 --- a/test/test_inputHandling.c +++ b/test/test_inputHandling.c @@ -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