fixed test in deck and added hand
test
This commit is contained in:
12
tests/test_hand.py
Normal file
12
tests/test_hand.py
Normal 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")
|
||||
Reference in New Issue
Block a user