def test_healing(self): cerlic = Cerlic("Test", 100, 10) ally = Cerlic("Ally", 100, 10) cerlic.heal(ally) self.assertEqual(ally.hp, 110)
def test_heal(self): cerlic = Cerlic("Test", 100, 10) other = Cerlic("Other", 100, 10) cerlic.heal(other) self.assertEqual(other.hp, 110)
def test_heal(self): cerlic = Cerlic('Test', 100, 10) other = Cerlic('Other', 100, 10) cerlic.heal(other) self.assertEqual(other.hp, 110)