You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
300 B
22 lines
300 B
#ifdef TEST
|
|
|
|
#include "unity.h"
|
|
|
|
#include "inputHandling.h"
|
|
char halloWelt[]="Hallo Welt";
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_inputHandling_deleteOneWhiteSpace(void)
|
|
{
|
|
deleteWhitespace(halloWelt, 10);
|
|
TEST_ASSERT_EQUAL_STRING("HalloWelt", halloWelt);
|
|
}
|
|
|
|
#endif // TEST
|