def test_has_no_move():
    individual = Individual(is_zombie=is_zombie,
                            x_coord=x,
                            y_coord=y,
                            moves=moves)
    while individual.has_move():
        individual.get_move()

    assert individual.has_move() == False
def test_has_move():
    individual = Individual(is_zombie=is_zombie,
                            x_coord=x,
                            y_coord=y,
                            moves=moves)
    assert individual.has_move() == True