Beispiel #1
0
 def test_monster_dexterity2(self):
     # Tests that return value is greater than or equal to lower bounds
     self.assertLessEqual(1, monster.monster_dexterity('Rogue Robot'))
Beispiel #2
0
 def test_monster_dexterity7(self):
     # Tests that return value is of type integer
     self.assertEqual(int, type(monster.monster_dexterity('Ghoul')))
Beispiel #3
0
 def test_monster_dexterity(self):
     # Tests that return value is less than or equal to upper bounds
     self.assertGreaterEqual(4, monster.monster_dexterity('Rogue Robot'))
Beispiel #4
0
 def test_monster_dexterity6(self):
     # Tests that return value is less than or equal to upper bounds
     self.assertGreaterEqual(20, monster.monster_dexterity('Pax'))