Package games.gofish

Examples of games.gofish.GoFish


   * Test to make sure a card can be asked for
   */
  public void testAskForCard()
  {
    p1.getHand().addCard(new Card(15, 'h'));
    state.askForCard(new GoFish(), p1, p2, 15);
    assertTrue(p2.getHand().contains(new Card(15, 'h')));
    assertFalse(p1.getHand().contains(new Card(15, 'h')));
  }
View Full Code Here


   * Test to make sure a card can be asked for
   */
  public void testAskForCard()
  {
    p2.getHand().addCard(new Card(15, 'h'));
    state.askForCard(new GoFish(), p1, p2, 15);
    assertTrue(p1.getHand().contains(new Card(15, 'h')));
    assertFalse(p2.getHand().contains(new Card(15, 'h')));
  }
View Full Code Here

TOP

Related Classes of games.gofish.GoFish

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.