

def test_init(self):
    team_black = Team(0, (0, 2))
    team_white = Team(1, (3, 6), score=5)
    self.assertEqual(team_black.index, 0)
    self.assertEqual(team_black.score, 0)
    self.assertEqual(team_black.zone, (0, 2))
    self.assertEqual(team_white.index, 1)
    self.assertEqual(team_white.score, 5)
    self.assertEqual(team_white.zone, (3, 6))

dataset/ETHPy150Open ASPP/pelita/test/test_datamodel.py TestTeam.test_init/original