def test_add(self): self.assertEqual(base_code.add(5, 2), 7) self.assertEqual(base_code.add(-5, 2), -3) self.assertEqual(base_code.add(-5, -2), -7)
def test_add(self): result = base_code.add(5, 2) self.assertEqual(result, 7, "Failed test message")