def test_terminal_on_finished_game(self):
        board = Board()

        # A connect four game is considered finished when all columns
        # are full. In the Board class, this is indicated by non-zero values
        # in the first row
        for i in range(board.width):
            board.board[0][i] = 1
        assert board.terminal()
    def test_terminal_on_unfinished_game(self):
        board = Board()
        assert not board.terminal()

        board.board[1][1] = 1
        assert not board.terminal()