コード例 #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)
コード例 #3
0
ファイル: test_abilities.py プロジェクト: Jazzis18/the-tale
 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)
コード例 #4
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)