def test_set_cat_average_speed(age, result): cat = Cat(age) assert cat.get_average_speed() == result
def test_cat_run(age, hours, result): cat = Cat(age) cat.run(hours) assert cat.get_saturation_level() == result
def test_cat_eat(age, food, result): cat = Cat(age) cat.eat(food) assert cat.get_saturation_level() == result