Package smack.down

Examples of smack.down.CardList


public class DinosuarsTest {

  @Test
  public void testAugmentation() {
    Player player1 = new Player("TestPlayer", new CardList(), new CardSet(), new CardSet());
    Minion m1 = new Minion("TestMinion", Faction.Aliens, 2);
    m1.setOwner(player1);
    Action action = new Augmentation();
    action.setOwner(player1);
   
View Full Code Here


    assertEquals(2, m1.getStrength());
  }
 
  @Test
  public void testHowl() {
    Player player1 = new Player("TestPlayer", new CardList(), new CardSet(), new CardSet());
    Minion m1 = new Minion("TestMinion1", Faction.Aliens, 2);
    m1.setOwner(player1);
    Minion m2 = new Minion("TestMinion2", Faction.Aliens, 5);
    m2.setOwner(player1);
    Minion m3 = new Minion("TestMinion3", Faction.Aliens, 7);
View Full Code Here

    assertEquals(6, m5.getStrength());
  }
 
  @Test
  public void testWarRaptor() {
    Player player1 = new Player("TestPlayer", new CardList(), new CardSet(), new CardSet());
    Base base1 = new Base("TestBase", Faction.Aliens, 50, 3, 2, 1);
    Minion m1 = (Minion) new WarRaptor().setOwner(player1);
    Minion m2 = (Minion) new WarRaptor().setOwner(player1);
    Minion m3 = (Minion) new WarRaptor().setOwner(player1);
    Minion m4 = (Minion) new WarRaptor().setOwner(player1);
View Full Code Here

    assertEquals(15, base1.getTotalStrength(player1));
  }
 
  @Test
  public void testArmorStego() {
    Player player1 = new Player("TestPlayer1", new CardList(), new CardSet(), new CardSet());
    Player player2 = new Player("TestPlayer2", new CardList(), new CardSet(), new CardSet());
    Base base1 = new Base("TestBase", Faction.Aliens, 50, 3, 2, 1);
    Minion m1 = (Minion) new ArmorStego().setOwner(player1);
   
    Table table = new Table(Arrays.asList(player1, player2), new ArrayList<Base>(), Arrays.asList(base1));
    player1.setTable(table);
View Full Code Here

    assertEquals(3, m1.getStrength());
  }
 
  @Test
  public void testLaseratops() {
    Player player1 = new Player("TestPlayer1", new CardList(), new CardSet(), new CardSet());
    Player player2 = new Player("TestPlayer2", new CardList(), new CardSet(), new CardSet());
    Base base1 = new Base("TestBase", Faction.Aliens, 50, 3, 2, 1);
    Table table = new Table(Arrays.asList(player1, player2), new ArrayList<Base>(), Arrays.asList(base1));
    player1.setTable(table);
    player2.setTable(table);
    Minion m1 = (Minion) new Laseratops().setOwner(player1);
View Full Code Here

TOP

Related Classes of smack.down.CardList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.