Esempio n. 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)
Esempio n. 2
0
 def __init__(self, rule, max, reverse):
     BoundedRule.__init__(self, rule, reverse)
     assert_greater_equals(max, 1)
     self.max = max
Esempio n. 3
0
 def __init__(self, rule, min, reverse):
     BoundedRule.__init__(self, rule, reverse)
     assert_greater_equals(min, 1)
     self.min = min
Esempio n. 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)
Esempio n. 5
0
 def __init__(self, rule, max, reverse):
     BoundedRule.__init__(self, rule, reverse)
     assert_greater_equals(max, 1)
     self.max = max
Esempio n. 6
0
 def __init__(self, rule, min, reverse):
     BoundedRule.__init__(self, rule, reverse)
     assert_greater_equals(min, 1)
     self.min = min