예제 #1
0
def test_out_of_range():
    r = Range(5, 10)
    assert not r.within_bounds(11)
예제 #2
0
def test_within_range():
    r = Range(5, 10)
    assert r.within_bounds(7)