Beispiel #1
0
 def testDeckSize(self):
     deck = Deck()
     self.assertEqual(48, deck.get_size())
Beispiel #2
0
 def testDrawCard(self):
     deck = Deck()
     self.assertEqual(48, deck.get_size())
     card = deck.get_card()
     self.assertEqual(47, deck.get_size())
     self.assertFalse(deck.card_in_deck(card))