diff --git a/src/test/c/Jason/test_ASCII_art.c b/src/test/c/Jason/test_ASCII_art.c index 5f88ae5..bac784c 100644 --- a/src/test/c/Jason/test_ASCII_art.c +++ b/src/test/c/Jason/test_ASCII_art.c @@ -103,5 +103,16 @@ void test_korrekteBerechnungAufMaximaleBreiteWeihnachtsbaum() { int actualResult = max_breite(6); //assert + TEST_ASSERT_EQUAL_INT(expectedResult, actualResult); +} + +void test_korrekteBerechnungAufMaximaleGroesseDesDreieck() { + //arrange + int expectedResult = 65; + + //act + int actualResult = berechnungDerDreieckArraygroesse(10); + //assert + TEST_ASSERT_EQUAL_INT(expectedResult, actualResult); } \ No newline at end of file