def testIsVersionString_MultiDigit(self): self.assertTrue(_IsVersionString("12.345.67"));
def testIsVersionString(self): self.assertTrue(_IsVersionString("1.6.0"));
def testIsVersionString_WholeString(self): self.assertFalse(_IsVersionString(" 1.6.0")); self.assertFalse(_IsVersionString("1.6.0 "));
def testIsVersionString_WrongInput(self): self.assertFalse(_IsVersionString("invalid version"))
def testIsVersionString_MultiDigit(self): self.assertTrue(_IsVersionString("12.345.67"))
def testIsVersionString_WholeString(self): self.assertFalse(_IsVersionString(" 1.6.0")) self.assertFalse(_IsVersionString("1.6.0 "))
def testIsVersionString(self): self.assertTrue(_IsVersionString("1.6.0"))
def testIsVersionString_WrongInput(self): self.assertFalse(_IsVersionString("invalid version"))