def test_too_far_6(): direction = -1 anchor = 10 offset = 5 boundary = 11 ref = 6 test = intervals._too_far(anchor, offset, boundary, direction) assert test == ref
def test_too_far_3(): direction = 1 anchor = 10 offset = 5 boundary = 14 ref = 1 test = intervals._too_far(anchor, offset, boundary, direction) assert test == ref