示例#1
0
def test_card_diamond_is_not_monster():
    c = Card(DIAMOND, 5)
    assert c.is_monster() == False
示例#2
0
def test_card_club_is_monster():
    c = Card(CLUB, 5)
    assert c.is_monster() == True
示例#3
0
def test_card_heart_is_not_monster():
    c = Card(HEART, 5)
    assert c.is_monster() == False
示例#4
0
def test_card_spade_is_monster():
    c = Card(SPADE, 5)
    assert c.is_monster() == True