def test_is_empty_false(self): hand = Hand() deck = Deck() hand.add_to_hand(deck.draw()) result = hand.is_empty() self.assertEqual(False, result)
def test_number_of_cards_1(self): hand = Hand() deck = Deck() hand.add_to_hand(deck.draw()) result = hand.number_of_cards() self.assertEqual(1, result)
def test_is_empty_false(self): deck = Deck() result = deck.is_empty() self.assertEqual(False, result)
def test_is_empty_true(self): deck = Deck() for x in range(1, 53): temp = deck.draw() result = deck.is_empty() self.assertEqual(True, result)
def test_is_empty_true(self): deck = Deck() for x in range(1,53): temp = deck.draw() result = deck.is_empty() self.assertEqual(True, result)