Exemple #1
0
def test_cheetah_run(age, hours, result):
    cheetah = Cheetah(age)
    cheetah.run(hours)
    assert cheetah.get_saturation_level() == result
Exemple #2
0
def test_cheetah_eat(age, food, result):
    cheetah = Cheetah(age)
    cheetah.eat(food)
    assert cheetah.get_saturation_level() == result