3
Od+                 @   sF   d dl Zd dlmZmZ d dljZdd Zdd Z	dd Z
d	d
 ZdS )    N)assert_equalassert_allclosec              C   sd   t jjd t jjdt jjd } }ttj|| tj| |  ttj|| tj||    d S )Ni  d   )nprandomseedZrandr   scowens_t)ah r   T/var/www/html/virt/lib64/python3.6/site-packages/scipy/special/tests/test_owens_t.pytest_symmetries   s    r   c               C   sR   t tjddd ttjdddtjd tj dd ttjddddd d S )N   r   g      ?gvIh%,=)rtol   g<>)r   r   r	   r   r   Zarctanpir   r   r   r   test_special_cases   s
    r   c               C   sH   t tjdtjtj t tjtjdtj t tj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 j| tjd  }tt j| tj|dd tt j| tj | dd tt jtjdd tt jtj dd tt jtjtjd tt jtj tjd tt jtjtj d tt jtj tj d	 d S )
Nr   g      ?   gvIh%,=)r   r   g        g       g       )r   erfcr   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   

