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