... pytest: more tests


The test_blackjack.py now has more tests.

from blackjack import card_score

def test_simple_usecase1():
    card_score("JK") == 20

def test_simple_usecase2():
    card_score("JKQ") == 0

def test_simple_usecase3():
    card_score("KA") == 21

Before watching the next video, can you spot the bug?

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider signing up for the newsletter.