forked from Ada-Activities/tdd-exercise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_blackjack_score.py
47 lines (33 loc) · 1.19 KB
/
test_blackjack_score.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
from main import blackjack_score
import pytest
#@pytest.mark.skip(reason="no way of currently testing this")
def test_score_for_pair_of_number_cards():
# Arrange
hand = [3, 4]
# Act
score = blackjack_score(hand)
# Assert <-- Write assert statement here
@pytest.mark.skip(reason="no way of currently testing this")
def test_facecards_have_values_calculated_correctly():
pass
@pytest.mark.skip(reason="no way of currently testing this")
def test_calculates_aces_as_11_where_it_does_not_go_over_21():
pass
@pytest.mark.skip(reason="no way of currently testing this")
def test_calculates_aces_as_1_where_11_would_bust():
pass
@pytest.mark.skip(reason="no way of currently testing this")
def test_returns_invalid_for_invalid_cards():
pass
@pytest.mark.skip(reason="no way of currently testing this")
def test_returns_invalid_for_list_length_greater_than_5():
pass
@pytest.mark.skip(reason="no way of currently testing this")
def test_returns_bust_for_scores_over_21():
pass
@pytest.mark.skip(reason="no way of currently testing this")
def test_returns_12_for_ace_ace_king():
pass
@pytest.mark.skip(reason="logic not yet implemented")
def test_returns_14_for_ace_ace_ace_ace():
pass