diff --git a/src/test/c/Jason/test_ASCII_art.c b/src/test/c/Jason/test_ASCII_art.c index 3ce1a4c..3402698 100644 --- a/src/test/c/Jason/test_ASCII_art.c +++ b/src/test/c/Jason/test_ASCII_art.c @@ -28,5 +28,16 @@ void test_funktioniertDieAbfrageDerGroesse() { int actualResult = frageNachGroesse(); //assert + TEST_ASSERT_EQUAL_INT(expectedResult, actualResult); +} + +void test_korrekteBerechnungDerArrayGroesse() { + //arrange + int expectedResult = 200; + + //act + int actualResult = berechnungDerLaengeDesQuadratArrays(10); + //assert + TEST_ASSERT_EQUAL_INT(expectedResult, actualResult); } \ No newline at end of file