diff --git a/src/test/c/Jason/test_ASCII_art.c b/src/test/c/Jason/test_ASCII_art.c index 8746052..bf29b8b 100644 --- a/src/test/c/Jason/test_ASCII_art.c +++ b/src/test/c/Jason/test_ASCII_art.c @@ -92,5 +92,16 @@ void test_erscheintDieAbfrageFuerWeihnachtsbaum() { int actualResult = abfrageDerHoehe(); //assert + TEST_ASSERT_EQUAL_INT(expectedResult, actualResult); +} + +void test_korrekteBerechnungAufMaximaleBreiteWeihnachtsbaum() { + //arrange + int expectedResult = 9; + + //act + int actualResult = max_breite(6); + //assert + TEST_ASSERT_EQUAL_INT(expectedResult, actualResult); } \ No newline at end of file