From 2e2f1455bab3db7348c107c7a744faa259d5c2b5 Mon Sep 17 00:00:00 2001 From: Sophia Weber Date: Sun, 28 Jan 2024 12:45:23 +0100 Subject: [PATCH] Add Whitespace Test --- test/test_inputHandling.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_inputHandling.c b/test/test_inputHandling.c index 157270f..a6db8f6 100644 --- a/test/test_inputHandling.c +++ b/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