o
    Eb+                     @   sH   d dl Zd dlmZmZ d dlmZ dd Zdd Z	dd Z
d	d
 ZdS )    N)assert_equalassert_allclosec                  C   sd   t jd t jdt jd} }tt|| t| |  tt|| t||    d S )Ni  d   )npZrandomZseedZrandr   scowens_t)ah r
   B/usr/lib/python3/dist-packages/scipy/special/tests/test_owens_t.pytest_symmetries   s   "r   c                   C   sR   t tddd ttdddtd tj dd ttddddd d S )N   r         ?vIh%,=Zrtol   g<>)r   r   r   r   r   ZarctanZpir
   r
   r
   r   test_special_cases   s   
r   c                   C   sH   t tdtjtj t ttjdtj t ttjtjtj d S )N   )r   r   r   r   nanr
   r
   r
   r   	test_nans   s   r   c                  C   s   d} dt | td  }tt | tj|dd tt | tj | dd tt tjdd tt tj dd tt tjtjd tt tj tjd tt tjtj d tt tj tj d d S )Nr   r      r   r   r   g       )r   Zerfcr   Zsqrtr   r   infr   )r	   resr
   r
   r   	test_infs   s   r   )Znumpyr   Znumpy.testingr   r   Zscipy.specialZspecialr   r   r   r   r   r
   r
   r
   r   <module>   s    
