Browse Source

Test User Antwort

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

10
src/test/test_duellist_spielesammlung_projekt.c

@ -670,7 +670,17 @@ void test_playGame_correctResult(void)
playGame();
}
void test_getUserAnswer_invalidInput(void)
{
/* arrange */
freopen("invalid_input.txt", "r", stdin);
/* act */
int result = getUserAnswer();
/* assert */
}

Loading…
Cancel
Save