U
    HvfL                     @   sV   d dl Z d dlZd dlmZ d dlmZ G dd dZG dd dZ	G dd dZ
dS )	    Nassert_allclosec                   @   s   e Zd Zdd Zdd ZdS )TestExp1c                 C   s   t tdstttddjttddj ks>ttttddtdddd tttddtdddd d S )Nr                #B;V瞯<ZatolZrtol      #Bǻ)npisnanscexp1AssertionErrorcompleximagr   self r   R/tmp/pip-unpacked-wheel-96ln3f52/scipy/special/tests/test_exponential_integrals.pytest_branch_cut
   s     zTestExp1.test_branch_cutc                 C   s8   t td }t td }t|j|jddd d S )Ng_93@g3@r   r   r	   )r   r   r   r   r   )r   abr   r   r   test_834   s    zTestExp1.test_834N)__name__
__module____qualname__r   r   r   r   r   r   r      s   r   c                	   @   sV   e Zd Zejdeeddeeddedgdd Z	dd Z
d	d
 ZdS )TestExpiresultr   r   r   c                 C   s   d}t ||ddd d S )Ng̿r   g+=r	   r   )r   r   Zdesiredr   r   r   r   &   s    zTestExpi.test_branch_cutc                 C   sB   t d}t d}t|j|jddd t|j|j ddd d S )Nr   r
   r   r   r	   )r   expir   realr   )r   Zlim_from_aboveZlim_from_belowr   r   r   test_near_branch_cut/   s    

zTestExpi.test_near_branch_cutc                 C   s,   t ttddttddddd d S )N   r   r   r   r	   )r   r   r   r   r   r   r   r   %test_continuity_on_positive_real_axis?   s    z.TestExpi.test_continuity_on_positive_real_axisN)r   r   r   pytestmarkZparametrizer   r   r   r   r!   r#   r   r   r   r   r   $   s   
r   c                   @   s   e Zd Zdd ZdS )TestExpnc                 C   s*   t ttddtddgs&td S )Nr   g      ?r"   g      )allr   r   r   Zexpnr   r   r   r   r   test_out_of_domainJ   s    zTestExpn.test_out_of_domainN)r   r   r   r(   r   r   r   r   r&   H   s   r&   )r$   Znumpyr   Znumpy.testingr   Zscipy.specialspecialr   r   r   r&   r   r   r   r   <module>   s   $