U
    L?h                     @   s   d dl mZmZ d dlmZmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZmZmZ d dlmZ d	d
 ZdddZdddZdddZdS )    )wavefunctionenergy)Ipi)exp)sqrt)	integrate)simplify)mxr)hbarc                  C   s   dt dt  dt dt  ttt  dt dt  tdt t  dt dt  tdt t  d} | D ]"}tt|t| |  dksntqnd S )N         )r   r   r   r   r   )r   r   r   r   r   r	   r   AssertionError)Psin r   P/var/www/html/venv/lib/python3.8/site-packages/sympy/physics/tests/test_pring.pytest_wavefunction   s    r   r   c                 C   sD   t | d D ]2}tt|tt| t tddt fdkstqd S Nr   r   r   ranger   r   r   r   r   r   ir   r   r   	test_norm   s     r   c                 C   sZ   t | d D ]H}t |d | d D ]0}tt|tt|t tddt fdks"tq"qd S r   r   )r   r   jr   r   r   test_orthogonality   s     r   c                 C   sN   t | d D ]<}tt|tt|d td  dt td    dkstqd S )Nr   r   r   )r   r	   r   r
   r   r   r   r   r   r   r   test_energy%   s    *r   N)r   )r   )r   )Zsympy.physics.pringr   r   Zsympy.core.numbersr   r   Z&sympy.functions.elementary.exponentialr   Z(sympy.functions.elementary.miscellaneousr   Zsympy.integrals.integralsr   Zsympy.simplify.simplifyr	   Z	sympy.abcr
   r   r   Zsympy.physics.quantum.constantsr   r   r   r   r   r   r   r   r   <module>   s   

