In a tabular environment, I would like to align text vertically at the top of one cell while placing an Asymptote image in an adjacent cell. There are numerous posts on vertical alignment with images in a tabular environment with "normal" image placement using \includegraphics. See here for instance:
Vertical alignment of text and figures in a table
However, the two most commonly suggested techniques -- using \raisebox or \adjustbox -- don't seem to work with asymptote images. Here is a minimal example showing the effect I would like to get, and what actually happens when I use an asymptote image:
\documentclass{article}
\usepackage{mwe}
\usepackage{asymptote}
\begin{document}
\begin{tabular}{c c}
Text &
\raisebox{-.9\height}{\includegraphics[scale=0.25]{example-image}}
\\ Text &
\begin{asy}
import graph;
unitsize(1inch);
draw((0,0)--(1,0)--(1,1)--(0,1)--(0,0));
\end{asy}
\end{tabular}
\end{document}
Any idea how to get top-aligned text next to an asymptote image?