예제 #1
0
class TestBasePlayer(unittest.TestCase):
    def setUp(self):
        self.bot = BasePlayer()
        
    def test_hunt_choices(self):
        self.assertRaises(
            NotImplementedError,
            self.bot.hunt_choices,
            (1, 1200, 0, 3, [0,0,0]),
            )
        
    def test_hunt_outcomes(self):
        self.assertIsNone(self.bot.hunt_outcomes([-2, 1, 0]))
        
    def test_round_end(self):
        self.assertIsNone(self.bot.round_end(120, 12, 12))
예제 #2
0
class TestBasePlayer(unittest.TestCase):
    def setUp(self):
        self.bot = BasePlayer()
        
    def test_hunt_choices(self):
        self.assertRaises(
            NotImplementedError,
            self.bot.hunt_choices,
            (1, 1200, 0, 3, [0,0,0]),
            )
        
    def test_hunt_outcomes(self):
        self.assertIsNone(self.bot.hunt_outcomes([-2, 1, 0]))
        
    def test_round_end(self):
        self.assertIsNone(self.bot.round_end(120, 12, 12))
예제 #3
0
 def setUp(self):
     self.bot = BasePlayer()
예제 #4
0
 def setUp(self):
     self.bot = BasePlayer()