def test_should_heal_a_character(self): pld5.handleEvents(self._eventlist) self.assertEqual(self._c2.getHeal(),100)
def test_should_handlde_the_damage_events(self): pld5.handleEvents(self._eventlist) self.assertFalse(self._c1.isAlive()) self.assertTrue(self._c2.isAlive())