Exemplo n.º 1
0
 def test_card_less_after_deal(self):
     shoe = Shoe()
     cards_len = len(shoe.cards) - 1
     shoe.deal()
     assert cards_len == len(shoe.cards)
Exemplo n.º 2
0
 def test_deal_returns_a_card(self):
     shoe = Shoe()
     assert type(shoe.deal()) is Card
Exemplo n.º 3
0
 def test_deal_deals_a_card(self):
     shoe = Shoe()
     cards = shoe.cards
     card = shoe.deal()
     assert type(card) is Card