def empty_dog_q():
    return animal()
def test_contsructor():
    ne = animal()
    assert ne.newest is None
    assert ne.oldest is None
def cat_q():
    return animal(['cat', 'cat', 'cat', 'cat', 'cat', 'cat'])
def mix_q():
    return animal(
        ['cat', 'dog', 'cat', 'dog', 'cat', 'cat', 'dog', 'cat', 'dog'])
def dog_q():
    return animal(['dog', 'dog', 'dog', 'dog', 'dog'])