コード例 #1
0
 def test_monster_class_choice(self, mock_random):
     self.assertEqual('Ghoul', monster.monster_class_choice())
コード例 #2
0
 def test_monster_class_choice6(self, mock_random):
     self.assertEqual(str, type(monster.monster_class_choice()))
コード例 #3
0
 def test_monster_class_choice3(self, mock_random):
     self.assertEqual('Rogue Robot', monster.monster_class_choice())
コード例 #4
0
 def test_monster_class_choice4(self, mock_random):
     self.assertEqual('Mutated Creature', monster.monster_class_choice())
コード例 #5
0
 def test_monster_class_choice2(self, mock_random):
     self.assertEqual('Radioactive Rat', monster.monster_class_choice())