예제 #1
0
 def __init__(self, rule, min, max, reverse):
     MinBoundedRule.__init__(self, rule, min, reverse)
     MaxBoundedRule.__init__(self, rule, max, reverse)
     assert_greater_equals(max, min)
예제 #2
0
 def __init__(self, rule, max, reverse):
     BoundedRule.__init__(self, rule, reverse)
     assert_greater_equals(max, 1)
     self.max = max
예제 #3
0
 def __init__(self, rule, min, reverse):
     BoundedRule.__init__(self, rule, reverse)
     assert_greater_equals(min, 1)
     self.min = min
예제 #4
0
 def __init__(self, rule, min, max, reverse):
     MinBoundedRule.__init__(self, rule, min, reverse)
     MaxBoundedRule.__init__(self, rule, max, reverse)
     assert_greater_equals(max, min)
예제 #5
0
 def __init__(self, rule, max, reverse):
     BoundedRule.__init__(self, rule, reverse)
     assert_greater_equals(max, 1)
     self.max = max
예제 #6
0
 def __init__(self, rule, min, reverse):
     BoundedRule.__init__(self, rule, reverse)
     assert_greater_equals(min, 1)
     self.min = min