

def test_init_in_own_zone_is_harvester(self):
    bot = Bot(0, (1, 1), 0, (0, 3))
    self.assertEqual(bot.index, 0)
    self.assertEqual(bot.initial_pos, (1, 1))
    self.assertEqual(bot.current_pos, (1, 1))
    self.assertEqual(bot.team_index, 0)
    self.assertEqual(bot.homezone, (0, 3))
    self.assertTrue(self.is_destroyer)
    self.assertFalse(bot.is_harvester)
    self.assertTrue(bot.in_own_zone)
    bot = Bot(1, (6, 6), 1, (3, 6), current_pos=(1, 1))
    self.assertEqual(bot.index, 1)
    self.assertEqual(bot.initial_pos, (6, 6))
    self.assertEqual(bot.current_pos, (1, 1))
    self.assertEqual(bot.team_index, 1)
    self.assertEqual(bot.homezone, (3, 6))
    self.assertFalse(bot.is_destroyer)
    self.assertTrue(bot.is_harvester)
    self.assertFalse(bot.in_own_zone)

dataset/ETHPy150Open ASPP/pelita/test/test_datamodel.py TestBot.test_init_in_own_zone_is_harvester/VarMisuse@102/120 `bot`->`self`