def test_max_equal(): max_(10)(10)
def test_max_greater_than(): with pytest.raises(ValidationError): max_(10)(11)
def test_max_less_than(): max_(10)(9)