예제 #1
0
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
예제 #2
0
def test_suits():
    deck = module.Deck()
    assert len(deck.suits) == 4
예제 #3
0
def test_deck():
    deck = module.Deck()
    assert len(deck._cards) == 36
예제 #4
0
def test_list_card():
    deck = module.Deck()
    deck.mix_cards()
    deck.list_card()
    assert len(deck.list_num_card) == 36