
    tKg                      @    d dl Zd dlmZmZ d dlmZ d Zd Z	d Z
d Zy)    N)assert_equalassert_allclosec                     t         j                  j                  d       t         j                  j                  d      t         j                  j                  d      }} t	        t        j                  ||       t        j                  | |              t	        t        j                  ||       t        j                  ||                y )Ni  d   )nprandomseedrandr   scowens_t)ahs     d/home/alanp/www/video.onchill/myenv/lib/python3.12/site-packages/scipy/special/tests/test_owens_t.pytest_symmetriesr      s|    IINN499>>#		s 3qAAq!2::qb!#45Aq!BJJq1"$5#56    c                     t        t        j                  dd      d       t        t        j                  dd      dt	        j
                  d      z  t        j                  z  d       t        t        j                  dd      dd       y )N   r   g      ?vIh%,=rtol   g<>)r   r   r   r   r   arctanpi r   r   test_special_casesr      sd    Aq!1%BJJq!$c"))A,&6ruu&<  BJJq!$&? r   c                     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                         y )N   )r   r   r   r   nanr   r   r   	test_nansr      s]    B'0BFFB'0BFFBFF+RVV4r   c                  z   dt         j                  }} ddt         j                  z  z  t        j                  |      z  }t	        t        j                  | |      |d       t	        t        j                  | |       | d       d} d}t	        t        j                  | t         j                        |d       t	        t        j                  | t         j                         | 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       y )Nr   r      r   r   g|N?g       )r   infr   r   r   r   r   r   )r   r   ress      r   	test_infsr$      sU   bffqA
QruuW+		!
$CBJJq!$c6BJJq1"%t%8	A CBJJq"&&)3U;BJJq266'*SDu=BFFA&*RVVGQ'+BFFBFF+Q/RVVGRVV,a0BFFRVVG,d3RVVGbffW-t4r   )numpyr   numpy.testingr   r   scipy.specialspecialr   r   r   r   r$   r   r   r   <module>r)      s"     7 7 55r   