Files
blackjack/tests/test_hand.py

14 lines
251 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
2025-10-29 17:49:42 +01:00
2025-10-29 17:37:55 +01:00
def test_adding_card_to_hand(default_hand):
default_hand.add_card("diamonds","2")
2025-10-29 17:38:51 +01:00
default_hand.add_card("diamonds","K")