def test_should_heal_character(self): functional.handle_events(self._eventlist) self.assertEqual(self._c2.get_health(),100)
def test_should_handle_the_damage_events(self): functional.handle_events(self._eventlist) self.assertFalse(self._c1.is_alive()) self.assertTrue(self._c2.is_alive())