o
    oh                     @   sX   d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 dd Z
dd	 Zd
d ZdS )    )Eq)Symbol)	Piecewise)preview)BytesIOc                  C   :   t d} t }zt| dd|d W d S  ty   Y d S w )Nxpngr   outputvieweroutputbufferr   r   r   RuntimeError)r   obj r   u/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/sympy/printing/tests/test_preview.pytest_preview   s   r   c                  C   r   )Nu   αr	   r   r
   r   )ar   r   r   r   test_preview_unicode_symbol   s   r   c                  C   sN   t d} tdt| dfd}t }zt|dd|d W d S  ty&   Y d S w )Nr      r   )r   Tr	   r   r
   )r   r   r   r   r   r   )r   pwr   r   r   r   $test_preview_latex_construct_in_expr   s   r   N)sympy.core.relationalr   sympy.core.symbolr   $sympy.functions.elementary.piecewiser   sympy.printing.previewr   ior   r   r   r   r   r   r   r   <module>   s   	
