Example #1
0
def test_max_equal():
    max_(10)(10)
Example #2
0
def test_max_greater_than():
    with pytest.raises(ValidationError):
        max_(10)(11)
Example #3
0
def test_max_less_than():
    max_(10)(9)