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_emoty_true(self): hand = Hand() result = hand.is_empty() self.assertEqual(True, result)
def test_number_of_cards(self): hand = Hand() result = hand.number_of_cards() self.assertEqual(0, result)