|
|
@ -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); |
|
|
|
} |