o
    §ƒðjÜ  ã                   @   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   ú£/tmp/claude-1000/-var-www-html-academy/3f42efd1-c2b7-4d08-9b05-30d86bb35479/scratchpad/piper/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   	
