#ifdef TEST #include "unity.h" #include "inputHandling.h" char halloWelt[]="Hallo Welt"; char halloWelt2[]="Hallo Welt"; void setUp(void) { } void tearDown(void) { } void test_inputHandling_deleteOneWhiteSpace(void) { deleteWhitespace(halloWelt, 10); TEST_ASSERT_EQUAL_STRING("HalloWelt", halloWelt); } void test_inputHandling_deleteTwoWhiteSpaces(void) { deleteWhitespace(halloWelt, 11); TEST_ASSERT_EQUAL_STRING("HalloWelt", halloWelt); } #endif // TEST