@Test public void testGameFameCorrectAtGameStart() { List<Player> listOfPlayers = new ArrayList<>(); GameSetup gameSetup = new GameSetup(); listOfPlayers = gameSetup.initializePlayers(6); boolean didItFail = false; for (Player player : listOfPlayers) { int fame = player.getFame(); if (fame != 1500) { didItFail = true; } } assertFalse(didItFail); }
@Test public void testGameTokensOnGoAtGameStart() { List<Player> listOfPlayers = new ArrayList<>(); GameSetup gameSetup = new GameSetup(); listOfPlayers = gameSetup.initializePlayers(6); boolean didItFail = false; for (Player player : listOfPlayers) { int location = player.getLocation(); if (location != 0) { didItFail = true; } } assertFalse(didItFail); }