Browse Source

Test ob Aufruf funktioniert

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

15
src/test/c/Jason/test_ASCII_art.c

@ -9,7 +9,7 @@ void tearDown(void){
} }
void test_doesWelcomeMessageWork(){
void test_doesWelcomeMessageWork() {
//arrange //arrange
int expectedResult = 0; int expectedResult = 0;
@ -17,5 +17,16 @@ void test_doesWelcomeMessageWork(){
int actualResult = printWelcomeMessage(); int actualResult = printWelcomeMessage();
//assert //assert
TEST_ASSERT_EQUAL_INT(expectedResult,actualResult);
TEST_ASSERT_EQUAL_INT(expectedResult, actualResult);
}
void test_funktioniertDieAbfrageDerGroesse() {
//arrange
int expectedResult = 0;
//act
int actualResult = frageNachGroesse();
//assert
TEST_ASSERT_EQUAL_INT(expectedResult, actualResult);
} }
Loading…
Cancel
Save