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