示例#1
0
 def carry_capacity(self):
     return GameRules.determine_carry_capacity(self)
示例#2
0
 def test_determine_carry_capacity(self):
     player = Mock()
     player.strength = 10
     self.assertEqual(GameRules.determine_carry_capacity(player),
                      player.strength * 15)