Ejemplo n.º 1
0
def test_out_of_range():
    r = Range(5, 10)
    assert not r.within_bounds(11)
Ejemplo n.º 2
0
def test_within_range():
    r = Range(5, 10)
    assert r.within_bounds(7)