def test_card_less_after_deal(self): shoe = Shoe() cards_len = len(shoe.cards) - 1 shoe.deal() assert cards_len == len(shoe.cards)
def test_deal_returns_a_card(self): shoe = Shoe() assert type(shoe.deal()) is Card
def test_deal_deals_a_card(self): shoe = Shoe() cards = shoe.cards card = shoe.deal() assert type(card) is Card