def test_player_hand(): deck = module.Deck() deck.mix_cards() deck.list_card() deck.player_card() deck.player_hand() assert len(deck.cards_pl) == 6
def test_suits(): deck = module.Deck() assert len(deck.suits) == 4
def test_deck(): deck = module.Deck() assert len(deck._cards) == 36
def test_list_card(): deck = module.Deck() deck.mix_cards() deck.list_card() assert len(deck.list_num_card) == 36