def test_out_of_range(): r = Range(5, 10) assert not r.within_bounds(11)
def test_within_range(): r = Range(5, 10) assert r.within_bounds(7)