def setUp(self): self.state = SolitaireMancala() # the only winner configurations for six houses board self.win = [[0, 0, 0, 0, 2, 4, 6], [0, 0, 0, 2, 4, 0, 0], [0, 0, 1, 1, 3, 5, 0], [0, 0, 1, 3, 0, 0, 0], [0, 0, 1, 3, 2, 4, 6], [0, 0, 2, 0, 0, 0, 0], [0, 0, 2, 0, 2, 4, 6], [0, 0, 2, 2, 4, 0, 0], [0, 1, 0, 0, 0, 0, 0], [0, 1, 0, 0, 2, 4, 6], [0, 1, 0, 2, 4, 0, 0], [0, 1, 1, 1, 3, 5, 0], [0, 1, 1, 3, 0, 0, 0], [0, 1, 1, 3, 2, 4, 6], [0, 1, 2, 0, 0, 0, 0], [0, 1, 2, 0, 2, 4, 6], [0, 1, 2, 2, 4, 0, 0]]