Example #1
0
 def test_kind_of_weapon(self):
     new_warrior = Warrior("Orc")
     new_warrior.set_sword("onehanded blade")
     self.assertEqual(new_warrior.strength, 170)
Example #2
0
 def test_kind_of_poower(self):
     new_warrior = Warrior("Orc")
     new_warrior.power("first")
     self.assertEqual(new_warrior.strength, 120)
Example #3
0
 def test_kind_of_powerr(self):
     new_warrior = Warrior("Orc")
     new_warrior.power("third")
     self.assertEqual(new_warrior.strength, 220)
Example #4
0
 def test_kind_of_armorr(self):
     new_warrior = Warrior("Human")
     new_warrior.plate("mythic")
     self.assertEqual(new_warrior.health, 1200)
Example #5
0
 def test_kind_of_arrmor(self):
     new_warrior = Warrior("Human")
     new_warrior.plate("epic")
     self.assertEqual(new_warrior.health, 260)
Example #6
0
 def test_how_is_mana(self):
     new_warrior = Warrior("Human")
     new_warrior.magic("three")
     self.assertEqual(new_warrior.health, 200)
Example #7
0
 def test_kind_of_power(self):
     new_warrior = Warrior("Orc")
     new_warrior.power("second")
     self.assertEqual(new_warrior.strength, 170)
Example #8
0
 def test_kind_of_armor(self):
     new_warrior = Warrior("Human")
     new_warrior.plate("legend")
     self.assertEqual(new_warrior.health, 700)