def test_myrange3(first, second, third, output):
    if third:
        assert list(solution.myrange3(first, second, third)) == output
    else:
        assert list(solution.myrange3(first, second)) == output
def test_myrange3_is_a_generator():
    output = solution.myrange3(10)
    assert iter(output) is output