@Test public void abilityAvailableWhenYouLoaded() { round .getPlayer(0) .addToCollected( new int[] { 20, 20, 20, 20, 20, 20 }); assertEquals(true, round.useAbility(1)); }
@Test public void noAbilitySpamEvenWhenYouLoaded() { round .getPlayer(0) .addToCollected( new int[] { 70, 0, 0, 0, 0, 0 }); round.useAbility(1); assertEquals(false, round.useAbility(1)); }
@Test public void twoPlayers() { assertEquals(false, round.getPlayer(1) == null); }