@Test
 public void testAct_BranchCoverage() {
   List<Civilization> allCivs = this.getAllCivArrayList();
   civ.act((ArrayList<Civilization>) allCivs, 4);
   civ.makePlayer();
   civ.act((ArrayList<Civilization>) allCivs, 4);
 }
  @Test
  public void testDeclareWar_BranchCoverage() {

    Civilization enemy = this.getCivilizationConstructor("YOU");
    civ.declareWar(enemy);
    assertTrue(civ.getEnemies().contains(enemy.getName()));

    // it is impossible to get 100% branch coverage here because there is no way to
    // make an ally
  }
 @Test
 public void testGettersAndSetters_BranchCoverage() {
   assertTrue(civ.getAllies().isEmpty());
   assertTrue(civ.getEnemies().isEmpty());
   assertTrue(civ.getknownCivs().isEmpty());
   civ.getName();
   assertTrue(civ.getPop() == 100);
   civ.getRace().getName();
   assertTrue(civ.getType().isEmpty());
   civ.setName("DKSFJKLDS");
 }
  @Test
  public void testPlayerAct_BrachCoverage() {
    List<Civilization> allCivs = this.getAllCivArrayList();

    allCivs.add(civ);

    int[] choice = {
      0, 1, 2, 3, 4, 5, 6,
    };
    civ.PlayerAct((ArrayList<Civilization>) allCivs, choice);
  }
 @Test
 public void testBooleans() {
   assertTrue(!civ.isPlayer());
   civ.makePlayer();
   assertTrue(civ.isPlayer());
   assertTrue(!civ.isDefeated());
   civ.setPop(-1);
   assertTrue(civ.isDefeated());
 }
  @Test
  public void testOffers_BranchCoverage() {

    civ.offerPeace();
    civ.offerAlliance();
  }
  @Test
  public void testGrow_BranchCoverage() {

    civ.grow();
  }