diff --git a/src/test/c/Jason/test_ASCII_art.c b/src/test/c/Jason/test_ASCII_art.c index 3c13a2d..52a5894 100644 --- a/src/test/c/Jason/test_ASCII_art.c +++ b/src/test/c/Jason/test_ASCII_art.c @@ -162,6 +162,21 @@ void test_wirdKleinesBaumkroneKorrektBefuelld(void){ befuellenDesWeihnachtsbaumsMitZeilenumbruechen(message, 3, 4); + // assert + TEST_ASSERT_EQUAL_STRING(expectedMessage, message); +} + +void test_wirdBaumstammAnRichtigerStelleEingestz(void){ + // arrange + char expectedMessage[] = " + "; + + // act + char message[7]; + + befuellenDesStammarraysMitLeerzeichen(message, 6); + stammAnRichtigerStelleEinsetzen(message, 6); + + // assert TEST_ASSERT_EQUAL_STRING(expectedMessage, message); } \ No newline at end of file