def test_isOdd_6(self): self.assertTrue(isOdd(-21))
def test_isOdd_8(self): # This is what a test case looks like when you # expect that an error will happen with self.assertRaises(TypeError): x = isOdd([1])
def test_isOdd_5(self): self.assertFalse(isOdd(-10))
def test_isOdd_4(self): self.assertTrue(isOdd(21))
def test_isOdd_3(self): self.assertFalse(isOdd(10))
def test_isOdd_2(self): self.assertTrue(isOdd(1))
def test_isOdd_1(self): self.assertFalse(isOdd(0))