Browse Source

Test User Wahl

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

10
src/test/test_duellist_spielesammlung_projekt.c

@ -650,7 +650,17 @@ void test_displayMenu_validMenu(void)
displayMenu(); displayMenu();
} }
void test_getUserChoice_invalidInput(void)
{
/* arrange */
freopen("invalid_input.txt", "r", stdin);
/* act */
int result = getUserChoice();
/* assert */
}

Loading…
Cancel
Save