Beispiel #1
0
    def validate_unsigned_integer_number(d, i, P, s, S, v, V, W):
        if V == 'focusin' or V == 'focusout':
            return True

        if S == '-':
            return False

        return NumbersUtil.is_unsigned_int(S)
 def test_is_unsigned_int_negative(self, s):
     self.assertFalse(NumbersUtil.is_unsigned_int(s))
 def test_is_unsigned_int(self, s):
     self.assertTrue(NumbersUtil.is_unsigned_int(s))