Exemple #1
0
def test_player_drink_potion_heals():
    p = Player()
    p.health = 15
    p.drink_potion(5)
    assert p.health == 20