Browse Source

Add Whitespace Test

remotes/origin/Input_Handling
Sophia Weber 11 months ago
parent
commit
2e2f1455ba
  1. 6
      test/test_inputHandling.c

6
test/test_inputHandling.c

@ -3,6 +3,7 @@
#include "unity.h"
#include "inputHandling.h"
char halloWelt[]="Hallo Welt";
void setUp(void)
{
@ -12,9 +13,10 @@ void tearDown(void)
{
}
void test_inputHandling_NeedToImplement(void)
void test_inputHandling_deleteOneWhiteSpace(void)
{
TEST_IGNORE_MESSAGE("Need to Implement inputHandling");
deleteWhitespace(halloWelt, 10);
TEST_ASSERT_EQUAL_STRING("HalloWelt", halloWelt);
}
#endif // TEST
Loading…
Cancel
Save