|
@ -82,4 +82,15 @@ void test_stringAbgleichMitLeerzeichenUndZeilenumbruch(void){ |
|
|
|
|
|
|
|
|
// assert |
|
|
// assert |
|
|
TEST_ASSERT_EQUAL_STRING(expectedMessage, message); |
|
|
TEST_ASSERT_EQUAL_STRING(expectedMessage, message); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_erscheintDieAbfrageFuerWeihnachtsbaum() { |
|
|
|
|
|
//arrange |
|
|
|
|
|
int expectedResult = 0; |
|
|
|
|
|
|
|
|
|
|
|
//act |
|
|
|
|
|
int actualResult = abfrageDerHoehe(); |
|
|
|
|
|
//assert |
|
|
|
|
|
|
|
|
|
|
|
TEST_ASSERT_EQUAL_INT(expectedResult, actualResult); |
|
|
} |
|
|
} |