Example #1
0
 def test_deck_size(self):
     deck = Poker.Deck()
     hand = Poker.Hand(deck, 2)
     self.assertEqual(len(deck.cardList), 50)
Example #2
0
 def test_hand_size(self):
     deck = Poker.Deck()
     hand = Poker.Hand(deck, 2)
     self.assertEqual(len(hand.cards), 2)