@Test public void redWinsIfTheyOwnAllCities() { CityImpl c = (CityImpl) game.getCityAt(new Position(4, 1)); c.setOwner(Player.RED); assertThat("Red owns all cities and should win", game.getWinner(), is(Player.RED)); }
@Test public void blueWinsIfTheyOwnAllCities() { CityImpl c = (CityImpl) game.getCityAt(new Position(1, 1)); c.setOwner(Player.BLUE); assertThat("Blue owns all cities and should win", game.getWinner(), is(Player.BLUE)); }