예제 #1
0
 def test_ice_apply(self):
     self.assertEqual(self.hero.pvp.energy_speed, 1)
     ability = Ice(hero=self.hero, enemy=self.enemy)
     ability.apply()
     self.assertTrue(self.hero.pvp.energy_speed > 1)
예제 #2
0
 def test_ice_apply(self):
     self.assertEqual(self.meta_action_battle.hero_1_pvp.energy_speed, 1)
     ability = Ice(hero=self.hero, enemy=self.enemy)
     ability.apply()
     self.assertTrue(self.meta_action_battle.hero_1_pvp.energy_speed > 1)