def testZero(self): self.assertFalse(wrapper_util._ParseBoolean('0'))
def testFalse(self): for value in itertools.product('Ff', 'Aa', 'Ll', 'Ss', 'Ee'): self.assertFalse(wrapper_util._ParseBoolean(''.join(value)))
def testNo(self): self.assertFalse(wrapper_util._ParseBoolean('NO'))
def testOne(self): self.assertTrue(wrapper_util._ParseBoolean('1'))
def testYes(self): self.assertTrue(wrapper_util._ParseBoolean('YES'))
def testTrue(self): for value in itertools.product('Tt', 'Rr', 'Uu', 'Ee'): self.assertTrue(wrapper_util._ParseBoolean(''.join(value)))
def testBooleanFalse(self): self.assertFalse(wrapper_util._ParseBoolean(False))
def testBooleanTrue(self): self.assertTrue(wrapper_util._ParseBoolean(True))