Browse Source

test zur korrekten Berechnung

remotes/origin/jason
Jason Peters 11 months ago
parent
commit
d2dec64fc8
  1. 11
      src/test/c/Jason/test_ASCII_art.c

11
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);
}
Loading…
Cancel
Save