a
     ¬<bC  ć                   @   s,  d dl mZmZ d dlmZmZmZmZmZ d dl	m
Z
 d dlmZmZ d dlmZ d dlmZmZ d dlmZmZmZmZmZmZmZmZ d dlmZmZ d d	lm Z m!Z! d d
l"m#Z#m$Z$m%Z%m&Z&m'Z' d dl(m)Z) d dl*m+Z+ d dl,m-Z-m.Z.m/Z/ d dl0m1Z1m2Z2 dd Z3dd Z4dd Z5dd Z6dd Z7dd Z8dd Z9dd Z:dd  Z;d!d" Z<d#d$ Z=d%d& Z>d'd( Z?d)d* Z@d+d, ZAd-d. ZBd/d0 ZCe2d1d2 ZDd3d4 ZEd5d6 ZFd7d8 ZGd9d: ZHd;d< ZId=d> ZJd?d@ ZKdAdB ZLdCdD ZMdEdF ZNdGdH ZOdIdJ ZPdKdL ZQdMdN ZRdOdP ZSdQdR ZTdSdT ZUdUdV ZVdWdX ZWdYdZ ZXd[d\ ZYd]d^ ZZd_d` Z[dadb Z\dcdd Z]dedf Z^dgdh Z_didj Z`dkdl Zadmdn Zbdodp Zcdqdr Zddsdt Zedudv Zfdwdx Zgdydz Zhd{d| Zid}d~ Zjdd Zkdd Zldd Zmdd Zndd Zodd Zpdd Zqdd Zrdd Zsdd Ztdd Zudd ZvdS )é    )Ś
DerivativeŚ	PoleError)ŚEŚIŚIntegerŚRationalŚpi)ŚS)ŚSymbolŚsymbols)Śsign)ŚexpŚlog)ŚacoshŚacothŚasinhŚatanhŚcoshŚcothŚsinhŚtanh)ŚceilingŚfloor)ŚcbrtŚsqrt)ŚasinŚcosŚcotŚsinŚtan)Ślimit)ŚO)ŚxŚyŚz)ŚraisesŚXFAILc                   C   s   t jt ddt ksJ tjt ddtks,J dt t  jtdddt t  ksRJ tddjt ddtddkstJ t  ” t ksJ d S )Né   ©Śné   é   é   )r"   Śnseriesr#   r   © r.   r.   śo/Users/vegardjervell/Documents/master/model/venv/lib/python3.9/site-packages/sympy/series/tests/test_nseries.pyŚtest_simple_1   s
    &"r0   c                   C   s*   t tt  jt ddt tt  ks&J d S )Nr'   r(   )r"   r   r-   r.   r.   r.   r/   Ś
test_mul_0   s    r1   c                   C   sØ   t tdt   jt ddt td t d d  t d d  t d d  tt d  ksZJ t tdt   jt ddt d t d d  t d d  tt d  ks¤J d S )	Né   r'   r(   r+   é   r,   é   r*   ©r"   r   r-   r!   r.   r.   r.   r/   Ś
test_mul_1   s    :
’
’
’*’r6   c                   C   s¶   t d jt ddt d ksJ dt  jt dddt  ks<J dt d  jt dddt d  ksbJ t tdd jt ddt tdd ksJ tt d jt ddtt d ks²J d S )Nr2   r'   r(   r*   r+   )r"   r-   r   r   r.   r.   r.   r/   Ś
test_pow_0%   s
    &*r7   c                   C   s¢   dt  d jt ddt d dt   d ks.J tt d d  t ”dtt  t  d ks\J tt tt  d  t ”dt tdd  t tdd  t  ksJ d S )Nr*   r2   r'   r(   é   r+   )r"   r-   r   r   r   r.   r.   r.   r/   Ś
test_pow_1-   s    ..(’’r9   c                   C   sę   ddt   jt dddt  t d  t d  t d  tt d  ksFJ t dt   jt ddt t d  t d  t d  t d  tt d  ksJ t d dt   jt ddt d t d  t d  t d  t d	  tt d  ksāJ d S )
Nr*   r'   r(   r2   r+   r,   r8   r3   é   ©r"   r-   r!   r.   r.   r.   r/   Śtest_geometric_16   s    FJ6’
’r<   c                   C   s^   t dt jtdddtd  td d  td d  dtd  d	  ttd  ksZJ d S )
Nr*   r'   r(   r2   r3   r+   é   r,   é   ©r   r"   r-   r!   r.   r.   r.   r/   Śtest_sqrt_1=   s    r@   c                   C   sŲ  t tjtdddt td d  td d  td d  ttd  ksNJ t tjtd	ddt td d  td d  td d  td d
  td d  td d  td d  td d  td d  td d  ttd	  ksšJ t dt jtddt dt ksJ t ddt  jtddtdt dtd  d  dtd  d    ” ttd  kstJ t dt jtddt ddt td d  td d  td d    ” ttd  ksŌJ d S )Nr'   r(   r*   r2   r+   r8   r,   r4   é   éx   éŠ  r:   i°  r3   i  é	   i é
   i _7 é   i aé   )r   r"   r-   r!   r   Śexpandr.   r.   r.   r/   Ś
test_exp_1A   s.    NF
’
’
’
’
’
ž
ž
(:’
B’rI   c                   C   sb   t dtt jtddt ddtt td  ttt d    ” tttd  ks^J d S )Nr*   r+   r(   r2   r8   )r   r   r"   r-   rH   r!   r.   r.   r.   r/   Śtest_exp_sqrt_1M   s    >’rJ   c                   C   sz   t ttt jtdddttt  td ttd  d  td ttd  d  ttd ttd   ksvJ d S ©Nr,   r(   r*   r2   r+   r8   )r   r"   r   r-   r!   r.   r.   r.   r/   Śtest_power_x_x1R   s    V’rL   c                   C   sr   t t  jt dddt tt   t d tt d  d  t d tt d  d  tt d tt d   ksnJ d S rK   )r"   r-   r   r!   r.   r.   r.   r/   Śtest_power_x_x2W   s    V’rM   c                   C   s^   t ddt  jtddtt t td d  td d  td d  ttd  ksZJ d S )Nr*   r'   r(   r2   r+   r,   )r   r"   r-   r!   r.   r.   r.   r/   Śtest_log_singular1\   s
    :
’
’rN   c                  C   s`   ddt  t tdtd    } | jt ddt tdtd d   t  tt d  ks\J d S )Nr*   r+   r2   r'   r(   r5   ©Śer.   r.   r/   Śtest_log_power1a   s     rQ   c                  C   s<   t d} ddtt  }|jtd| ddd|   ks8J d S )NŚlr*   r'   ©r)   Ślogx©r
   r   r"   r-   ©rR   rP   r.   r.   r/   Śtest_log_seriesf   s    rW   c                  C   s4   t dt } | jtddt t t d ks0J d S )Né’’’’r'   r(   )r   r"   r-   rO   r.   r.   r/   Ś	test_log2l   s    rY   c                  C   sB   t d} dtdt  }|jtd| dd|  td  ks>J d S )NrR   r*   rX   r,   rS   rU   rV   r.   r.   r/   Ś	test_log3q   s    rZ   c                  C   s2  t t} |  tdd”dksJ |  tdd”tdtks:J |  tdd”tttksVJ |  tdd”tttd t kszJ |  tdd”tttd t ksJ |  tdd”ttd d  ttd t ksĪJ ttd t } |  tdd”dtd  td d  ttd  ksJ t tdd”tks.J d S )Nr   r*   r2   r+   r,   r8   )r   r"   r-   r!   r   rO   r.   r.   r/   Śtest_series1w   s    $$08r[   c                   C   s<   t  t dd”tdt ksJ t  t dd”tt t ks8J d S )Nr   r*   r;   r.   r.   r.   r/   Śtest_series1_failing   s    r\   c                   C   sH   dt   t dd”dt  ksJ t dt    t dd”t dt   ksDJ d S )Nr*   r   r+   )r"   r-   r.   r.   r.   r/   Śtest_seriesbug1   s    r]   c                   C   s  t d d  t dd”ddt   dt d   dt d   tt d t  ksLJ t d d  t dd”dt  t d  t d  tt d t  ksJ t d d  t dd”dksŖJ t d d  t dd”dt  ksĢJ t d d  t dd”t d dt   d ksśJ t d d  t dd”ddt   dt d   tt d  ks:J ddt    t dd”dt  t d  t d  tt d t  ks|J t dddt      t dd”ddt   d	t d   d
t d   tt d t  ksŅJ dt  d d  t dd”ddt   dt d   t d  ksJ dddt     t dd”t t d  t d  tt d t  ksTJ dddt d     t dd”t d t d  tt d t  ksJ d S )Nr*   éž’’’r   r,   r2   r+   rX   r'   rA   r4   éż’’’r8   r;   r.   r.   r.   r/   Śtest_series2x   s    L@".@BV@Br`   c                  C   s   t d} | d | td tdd    d d| td tdd    d| d    }| ” }| | dd” | d”dks~J d S )NŚwrX   r+   r2   r   r,   )r
   r   rH   r-   Śsubs©ra   rP   r.   r.   r/   Ś	test_bug2”   s    ’’(’rd   c                  C   sb   dt  dt   } | jt ddtdt td d  dtd t d  d  tt d  ks^J d S )Nr*   r+   r(   r2   rF   r4   )r"   r-   r   r!   rO   r.   r.   r/   Śtest_exp©   s    re   c                  C   sj   t d} | dtttdtt    }t d}|j| dd|dt|td tttd  ksfJ d S )Nra   r*   r2   Ślogwr   )rT   )r
   r   r"   r-   r   )ra   rP   rf   r.   r.   r/   Ś	test_exp2®   s     ’’rg   c                  C   sZ   dt  dt d   dt  dt d    } | jt dddt  t d  tt d  ksVJ d S )Nr2   r+   r*   r(   r;   rO   r.   r.   r/   Ś	test_bug3¶   s    (rh   c                  C   sō   d} dt  dt |    dt  dt |     }| t dd”dt  t d  tt d  ksZJ tj} dt  dt |    dt  dt |     }| t dd”dt  tt  t tdd   tt d  ksĘJ dtt  }| t dd”dtt  ksšJ d S )Nr2   r+   r*   r   r,   )r"   r-   r!   r	   ZHalfr   ©ŚprP   r.   r.   r/   Śtest_generalexponent»   s    (.(>rk   c                  C   sP   ddt t  } |  tdd”dt t t t td  ttd t ksLJ d S )Nr*   r   r2   r+   r?   rO   r.   r.   r/   Śtest_genexp_xÉ   s    (’rl   c                  C   s   t dd} dt dt|    dt dt|     }| tdd”dt td  tt ttdd   ttdd   ttd  ksJ d S )Nr+   r2   r*   r   r'   )r   r"   r-   r   r	   r!   ri   r.   r.   r/   Śtest_genexp_x2Ń   s    
(rm   c                  C   s^   t d} d|  |  d|   }| | dd”dt| |  ks<J | | dd” | d”dksZJ d S )Nra   r2   r*   r   )r
   r-   r!   rb   rc   r.   r.   r/   Śtest_seriesbug2×   s     rn   c                  C   sN   t d} td|  |  }| | dd”dd| d  d  t| d  ksJJ d S )Nra   r2   r   r+   r,   )r
   r   r-   r!   rc   r.   r.   r/   Śtest_seriesbug2bß   s    ro   c                  C   sj   t ddd} ttd|  |  }|j| ddtdd| d  d  d| d  d	  t| d  ksfJ d S )
Nra   T©Śrealr2   r'   r(   r+   r,   é-   ©r
   r   r   Śseriesr!   rc   r.   r.   r/   Śtest_seriesbug2dę   s    ru   c                  C   s“   t ddd} td|  |  d|   }| | dd”dt|  ksBJ | | dd”dd|  td  | d tddtdd    t| d  ksJ | | dd” | d”dks°J d S )	Nra   Trp   r2   r*   r   r+   éü’’’)r
   r   rt   r!   r   r   rb   rc   r.   r.   r/   Śtest_seriesbug2cģ   s    ’
’
rw   c                  C   s  t ddd} ttd|  |  d|    | dd”td| td  t| d |  ksXJ tttd|  |  d|    | dd”dd|  td  t| d  ks¦J ttdt|   | dd”dt|  ksŌJ dt|  d|    | dd”dt|  ksJ d S )Nr"   Trp   r2   r*   r   )r
   r   r   rt   r!   r   r-   ©r"   r.   r.   r/   Śtest_expbug4ö   s&    ’’’ ’’’’.ry   c                   C   s4   t dtt  tdd”t dttt ks0J d S )Nr2   r   )r   r!   r"   r-   r.   r.   r.   r/   Śtest_logbug4  s    rz   c                   C   s   t tdt t jtddt dt d t d  dt d td  d  ttd  ks`J t tt tdd”dtt ksJ d S )Nr*   r+   r(   r2   rF   r4   r   )r   r   r"   r-   r!   r.   r.   r.   r/   Śtest_expbug5  s    `r{   c                   C   sV   t t t tdd”ttd d  td d  dtd  d  ttd  ksRJ d S )Nr   r3   r+   r'   rE   r:   i;  ©r   r"   r-   r!   r.   r.   r.   r/   Śtest_sinsinbug  s    r}   c                  C   sV   t tt d  } |  t dd”dt d  t d d  t d d  tt d  ksRJ d S )Nr*   r   r'   r2   r,   rC   rA   )r"   r   r-   r!   ©Śar.   r.   r/   Śtest_issue_3258  s    r   c                  C   s`   t ddd} t| d tdd }| | dd”| | d d	  | d
 d  t| d  ks\J d S )Nr"   T)Znonnegativer+   r*   r   é   r:   é   rG   iØ  )r
   r   r   r-   r!   )r"   Śfr.   r.   r/   Śtest_issue_3204  s    r   c                  C   sZ   t dt t } |  tdd”dt td  td  t td d  ttd  ksVJ d S )Nr*   r   r2   r3   r+   r=   )r   r#   r-   r!   )r   r.   r.   r/   Śtest_issue_3224  s    r   c                  C   s   t d\} }tdtd }| d|  }dt t| d|   t| | |    }| t|  t |t  |d dt   t|  }|j| dd|ksJ d S )Nzw,ir'   r+   rX   r*   r2   r(   )r   r   r"   r!   r-   )ra   ŚiŚrrj   rP   Ze_serr.   r.   r/   Śtest_issue_3463  s    *2r   c                   C   s  t dt jtdddt dtd  d  ttd  ks>J t tt jtddt ttt kshJ t tt jtddt tttt  ttd  ks¢J t tt jtddt tttt  t ttd  d  tttd  d	  t ttd  d
  ttd  ksJ d S )Nr3   r,   r(   é   r+   r*   r2   r'   r8   r4   )r   r"   r-   r!   r#   r   r.   r.   r.   r/   Śtest_sin(  s    >*::’’
’r   c                  C   sV   t dt t } | jtddddtd  d  dtd  d	  ttd  ksRJ d S )
Nr3   r8   r(   r   r2   r+   i   r,   é   r|   rO   r.   r.   r/   Śtest_issue_35150  s    r   c                  C   s®   t td tttt td  tttdd t td    } | jtddtddd	td  d
  dtd  d  dtd  d  dtd  d  ttd  ksŖJ d S )Nrv   r2   r*   r+   rD   r(   rX   rA   r:   i   é+   r,   i(  ic  r8   i ų% iy  r3   i  Ē)r   r"   r   r   r   r-   r!   rO   r.   r.   r/   Śtest_issue_35055  s     ’$’’’
’r   c                  C   sd  t d} td tt| t  tt|    }|jtddt| t| t d  t| td  d  td t|  d  td t|  d	  td
 t|  d  ttd  ks²J td tt| t  tt|    }|jtddt|  t| t d  t| td  d  t| td  d  td t|  d	  td
 t|  d  ttd  ks`J d S )Nr   r^   r8   r(   r2   r+   r4   r,   rB   r'   rC   )r
   r"   r   r-   r   r!   ©r   rP   r.   r.   r/   Śtest_issue_3501<  s*    $6’’’
’
$8’’’
’r   c                  C   s   t dt t dt  } | jtddtddttd  ks@J | jtddtdddtd  d  dtd  d  ttd  ksJ d S )	Nr'   r2   r(   r8   é#   r,   iI  é0   )r   r"   r-   r   r!   rO   r.   r.   r/   Śtest_issue_3502F  s
    (4’r   c                  C   sb   t dt dt  } | jtddt dd ttd d  tt d d  ttd  ks^J d S )Nr2   r(   r,   )r   r"   r-   r   r!   rO   r.   r.   r/   Śtest_issue_3503M  s    r   c                  C   s    t tdt   d t t tdt    t tdt   tdt     } | jt ddtdddt d  d	  d
t d  d  dt d  d  tt d  ksJ d S )Nr+   r^   r2   r:   r(   rX   r,   r'   é`   é[   i   im+  r8   i ų )r"   r   r-   r   r!   rO   r.   r.   r/   Śtest_issue_3506R  s    DD’r   c                  C   sš   t ddd} tt| j| ddt| | d d  | d d	  t| d  ksRJ t|  | t|  ttd|     ttd|   }|j| ddtdtd|   d| d  d
  d| d
  d
  d| d  d  t| d  ksģJ d S )Nr"   Trp   r'   r(   r2   r8   r,   é“   r+   rr   rs   )r"   rP   r.   r.   r/   Śtest_issue_3508X  s    F8N’r   c                  C   s   t d t d t d ttt    } | jt ddtddt d d  dt d  d	  d
t d  d  dt d  d  tt d  ksJ d S )Nrv   r2   rD   r(   r*   r,   r   é   i  i/  r8   i Ų	 iéq  r3   i ąė)r"   r   r   r-   r   r!   rO   r.   r.   r/   Śtest_issue_3507`  s    $P’r   c                   C   sn   t ttjtddt dtd td d  td t d d  td td d  ttd  ksjJ d S )Nr'   r(   r*   r2   r,   r3   r4   )r   r   r"   r-   r!   r.   r.   r.   r/   Śtest_issue_3639f  s    N’r   c                   C   s>  t tjtddttd d  td d  ttd  ks>J ttjtdddtd d  td d	  ttd  ks|J ttjtddttd d  dtd  d
  ttd  ks¾J ttjtdddt td d  td  dtd  d  ttd  ksJ ttjtddttd d  dtd  d  ttd  ksRJ ttjtddt	t
 d t
t  dt
 td  d  t
td  d  ttd  ks®J ttjtddttd d  td d  ttd  ksīJ ttjtddttd d  td d  t	t
 d  ttd  ks:J d S )Nr8   r(   r+   r'   rB   r*   r2   r,   r4   r   rr   i±  é(   )r   r"   r-   r!   r   r   r   r   r   r   r   r   r   r.   r.   r.   r/   Śtest_hyperbolick  s    >>B6’
DB’
@r   c                  C   sø   t ddd} t ddd}| d | td| |   | td|    }|j| ddtd|  | td|  d	  | d	 td|  d
  | d td|  d  t| d  ks“J d S )Nra   Trp   r"   r^   r*   r,   r(   r2   r8   r+   r4   )r
   r   r-   r!   )ra   r"   rP   r.   r.   r/   Śtest_series2x  s    ,r   c                  C   s   t ddd} | d | d t|  | d t|    }|j| ddtdd	 | d	 d  d
| d  d  d| d  d  t| d  ksJ d S )Nra   Trp   iś’’’r+   r3   r(   r*   r2   rG   r,   éš   i  r8   i^  )r
   r   r   r-   r   r!   rc   r.   r.   r/   Śtest_series3  s    (r”   c                  C   s¬   t d} t| d td | d   dt | d    | d  }|j| dd ”  ” tddt  td   ddtd  dt d   d dt ddt  td   fv sØJ d S )Nra   r,   r2   r(   r*   r^   )r
   r"   r-   ŚremoveOrH   rc   r.   r.   r/   Ś	test_bug4  s
    4*8’r£   c               	   C   s0  t d} t d}t|  td| tt   d | d  t|  tdt|    t|  td| tt    |  tt|  td| tt    |    }|j| d|dt|  | d|   td|  ksĪJ |j| d|dt|  | d|   t|  d| tt  ttt |d   t|  ks,J d S )Nra   rR   r*   r^   r   rS   r2   )r
   r   r"   r-   r!   )ra   rR   rP   r.   r.   r/   Ś	test_bug5  s*    0’’’
’’’28’’r¤   c                   C   sh   t tdtt  jtdddt tt ks2J t td dtt  jtdddtt ksdJ d S )Nr*   r(   r2   )r   r"   r   r-   r!   r.   r.   r.   r/   Śtest_issue_4115  s    2r„   c                   C   s.   t tdd  t tdd  t tdd  d S )Nc                   S   s   t dt  tdd”S ©Nr*   r   r'   ©r   r"   rt   r.   r.   r.   r/   Ś<lambda>  ó    ztest_pole.<locals>.<lambda>c                   S   s   t ddt   tdd”S r¦   r§   r.   r.   r.   r/   rØ     r©   c                   S   s   t tdt    t dd”S r¦   )r"   r   rt   r.   r.   r.   r/   rØ     r©   )r%   r   r.   r.   r.   r/   Ś	test_pole  s    rŖ   c                   C   s8  t tt tdd”tdtks$J t tt tdd”dtt ksJJ t tt tdd”dt ttd  ksxJ t tt tdd”dt td d  ttd  ks²J t tt tdd”dt td d  ttd  ksģJ t tt tdd”dt td d  td d  ttd  ks4J d S )Nr   r*   r2   r+   r,   r'   r3   )r   r   r"   rt   r!   r.   r.   r.   r/   Śtest_expsinbug¢  s    $&.::r«   c                  C   sz  t d} t|  | ”dksJ t|   | ”dks6J tt|  | ”dksPJ tt|   | ”dkslJ t| d  | ”dksJ t| d   | ”dks¢J tt|  | ”dks¼J tt|   | ”dksŲJ tdt|   | ”dksöJ tdt|    | ”dksJ t|  | d”dks2J t|   | d”dksNJ t dd	d
} t| d  | ”dksvJ d S )Nr"   r   rX   r+   r'   r,   r2   r_   T)Śnegativeg      ų?r*   )r
   r   rt   r   r   rx   r.   r.   r/   Ś
test_floor«  s    "r­   c                   C   sŲ   t t t”dksJ t t  t”dks.J t tt t”dksHJ t tt  t”dksdJ t dtt  t”dksJ t dtt   t”dks¢J t t td”dksŗJ t t  td”dksŌJ d S )Nr*   r   r2   r+   r^   )r   r"   rt   r   r   r.   r.   r.   r/   Śtest_ceilingæ  s     r®   c                  C   s*  t d} ttjtddtks"J tt jtddtks>J ttd jtddtd ks`J tttjtddttddtd   ttd  ksJ ttt jtddttddtd   ttd  ksŚJ tt|   td”|  td|   td td|    td|   ks&J d S )Nr   r,   r(   r*   r8   r+   )r
   Śabsr"   r-   r   r   r!   r   r~   r.   r.   r/   Śtest_absŹ  s    "<>r°   c                   C   sņ   t tjtdddtksJ t tjtdddt ks:J ttd jtddddksZJ ttd jtddddkszJ ttd jtddddksJ ttd jtddddksŗJ ttt jtdddttt jtdddksīJ d S )	Nr   ś+)Śdirś-r2   r*   g@r+   )rÆ   r"   rt   r   r   r   r#   r.   r.   r.   r/   Śtest_dirŌ  s        r“   c                  C   sx   t d} t| t t }|jtddd ” td | dtd| d  d   td|  d   td|  d  kstJ d S )Nr   r,   r2   r(   iš’’’r*   r=   )r
   r   r"   rt   r¢   r   r   r.   r.   r/   Śtest_issue_3504Ž  s
    B’rµ   c                  C   sŅ   t d\} }dd| t   }| tdd”d| t  | d td   | d td   | d td   ttd  ksvJ dd| | t   }| tdd”dt|  |   td | | d   ttd  ksĪJ d S )Nza,br*   r   r'   r2   r+   r,   )r   r"   rt   r!   )r   Śbr   r.   r.   r/   Śtest_issue_4441å  s    6’
’
’
’r·   c                   C   s¬   t tjttd dd ” t d td  dttd    ksBJ ttjttdd ” t d td  dtt   ks|J tt tt dt  ttd tdksØJ d S )Nr2   r+   r(   r8   r*   r,   rX   )r   r"   rt   r   r¢   r   r    r   r.   r.   r.   r/   Śtest_issue_4329ļ  s     ’’rø   c                   C   sō   t ttd  jddttks$J t ttd  jddtttd  ksPJ dt d jtddtd dt  d ks~J ddt   ” ddt  ksJ ttt ” t ” dt td d  td d  td d  ttd  ksšJ d S )	Nr2   r*   r(   r8   r+   r,   r4   r'   )rÆ   r"   rt   r!   r   r   Zdoitr.   r.   r.   r/   Śtest_issue_5183÷  s    $,. 6’r¹   c                  C   s&  t d} dtd | d  d  jtt|  ddt d| d  t |  t   dd| d  t |  t d    tdtt|  f ksJ dtd | d  d  jtt|  dddd| d   td| d  t |  t    dd| d  t |  t d    tt |  t tt|  f ks"J d S )	Nr   r*   r2   r   )Zx0r)   r,   r+   r=   )r
   r"   r-   r   r!   r~   r.   r.   r/   Śtest_issue_5654   s    &R’4’ ’’rŗ   c                  C   sø   t tt  tdd”} t tt t  tdd”}|  ttt ”| }}||  ”  ”  ” dksbJ t tt  tdd”} t tt t  tdd”}| tdtdi”|  td”ks“J d S )Nr   r*   r2   r+   )	r   r"   r$   rt   r#   rb   rH   r¢   Zsimplify)ZsxZsxyŚs1Śs2r.   r.   r/   Śtest_issue_5925  s    r½   c                   C   sZ   t td  tdd”dtd  td d  td d  td d	  ttd  ksVJ d S )
Nr+   r   é   r*   r8   r2   rD   rA   r4   )r   r"   r-   r!   r.   r.   r.   r/   Ś
test_exp_2  s    ræ   N)wZsympy.core.functionr   r   Zsympy.core.numbersr   r   r   r   r   Zsympy.core.singletonr	   Zsympy.core.symbolr
   r   Z$sympy.functions.elementary.complexesr   Z&sympy.functions.elementary.exponentialr   r   Z%sympy.functions.elementary.hyperbolicr   r   r   r   r   r   r   r   Z#sympy.functions.elementary.integersr   r   Z(sympy.functions.elementary.miscellaneousr   r   Z(sympy.functions.elementary.trigonometricr   r   r   r   r   Zsympy.series.limitsr    Zsympy.series.orderr!   Z	sympy.abcr"   r#   r$   Zsympy.testing.pytestr%   r&   r0   r1   r6   r7   r9   r<   r@   rI   rJ   rL   rM   rN   rQ   rW   rY   rZ   r[   r\   r]   r`   rd   re   rg   rh   rk   rl   rm   rn   ro   ru   rw   ry   rz   r{   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r”   r£   r¤   r„   rŖ   r«   r­   r®   r°   r“   rµ   r·   rø   r¹   rŗ   r½   ræ   r.   r.   r.   r/   Ś<module>   s¤   (	

	
	


	