def testCardInDeck(self): card = Card('S', 'T') deck = Deck() self.assertTrue(deck.card_in_deck(card))
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))