Files
blackjack/tests/test_hand.py

13 lines
209 B
Python
Raw Normal View History

2025-10-29 17:37:55 +01:00
import pytest
from pyjack.hand import Hand
@pytest.fixture
def default_hand():
my_hand = Hand()
return my_hand
def test_adding_card_to_hand(default_hand):
default_hand.add_card("diamonds","2")