Exemplo n.º 1
0
def test_set_cat_average_speed(age, result):
    cat = Cat(age)
    assert cat.get_average_speed() == result
Exemplo n.º 2
0
def test_cat_run(age, hours, result):
    cat = Cat(age)
    cat.run(hours)
    assert cat.get_saturation_level() == result
Exemplo n.º 3
0
def test_cat_eat(age, food, result):
    cat = Cat(age)
    cat.eat(food)
    assert cat.get_saturation_level() == result