added typehints
This commit is contained in:
@@ -39,7 +39,8 @@ def test_sum_cards():
|
||||
Card("spade", 12),
|
||||
Card("clubs", 1)
|
||||
]
|
||||
assert sum_cards_iter(cards) == 21
|
||||
assert sum_cards_recursive(cards) == 21
|
||||
print(sum_cards_iter(cards))
|
||||
# assert sum_cards_iter(cards) == 21
|
||||
# assert sum_cards_recursive(cards) == 21
|
||||
|
||||
test_sum_cards()
|
||||
Reference in New Issue
Block a user