コード例 #1
0
ファイル: test game.py プロジェクト: Baistan/Classes
 def test_kind_of_arrmor(self):
     new_warrior = Warrior("Human")
     new_warrior.plate("epic")
     self.assertEqual(new_warrior.health, 260)
コード例 #2
0
ファイル: test game.py プロジェクト: Baistan/Classes
 def test_kind_of_armorr(self):
     new_warrior = Warrior("Human")
     new_warrior.plate("mythic")
     self.assertEqual(new_warrior.health, 1200)
コード例 #3
0
ファイル: test game.py プロジェクト: Baistan/Classes
 def test_kind_of_armor(self):
     new_warrior = Warrior("Human")
     new_warrior.plate("legend")
     self.assertEqual(new_warrior.health, 700)