def test_is_perfect_negativeNum(self): expected_value = False value = is_perfect(-1) self.assertEqual(expected_value, value)
def test_is_perfect_num2(self): expected_value = True value = is_perfect(28) self.assertEqual(expected_value, value)
def test_is_perfect_num3(self): expected_value = False value = is_perfect(129) self.assertEqual(expected_value, value)
def test_is_perfect_zero(self): expected_value = False value = is_perfect(0) self.assertEqual(expected_value, value)