Browse Source

Test Display Ausgabe

remotes/origin/erwin
fdai7820 11 months ago
parent
commit
cfffc10cab
  1. 11
      src/test/test_duellist_spielesammlung_projekt.c

11
src/test/test_duellist_spielesammlung_projekt.c

@ -627,7 +627,18 @@ void test_squareRoot_negativeNumber(void)
TEST_ASSERT_EQUAL_INT(0, result);
}
void test_displayResult_correctResult(void)
{
/* arrange */
int correctAnswers = 3;
int totalQuestions = 5;
/* act */
displayResult(correctAnswers, totalQuestions);
/* assert */
}

Loading…
Cancel
Save