fixed test in deck and added hand

test
This commit is contained in:
2025-10-29 17:37:55 +01:00
parent ed494ec8b2
commit 6e4e71c95b
2 changed files with 30 additions and 3 deletions

12
tests/test_hand.py Normal file
View File

@@ -0,0 +1,12 @@
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")