Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.9/test/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.9/test/__pycache__/test_sndhdr.cpython-39.pyc

a

��g��@sJddlZddlZddlZddlmZGdd�dej�ZedkrFe��dS)�N)�findfilec@seZdZdd�Zdd�ZdS)�TestFormatscCs�dD]�\}}t|dd�}t�|�}|�|d|�|�||�|�|j|d�|�|j|d�|�|j|d�|�|j	|d�|�|j
|d�qdS)	N))zsndhdr.8svx)Z8svxr�r�)�sndhdr.aifc)Zaifc�D����)zsndhdr.aiff)Zaiffrrr	r
)z	sndhdr.au)Zaurrg@r
)zsndhdr.hcom)Zhcomg���@r���r)zsndhdr.sndt)Zsndtrrr	r)z
sndhdr.voc)Zvocrrrr)z
sndhdr.wav)Zwavrrr	r
�
sndhdrdata�Zsubdirrrr��)r�sndhdr�whatZassertNotEqualZassertSequenceEqual�assertEqualZfiletypeZ	framerateZ	nchannelsZnframesZ	sampwidth)�self�filenameZexpectedr�r�,/usr/local/lib/python3.9/test/test_sndhdr.py�	test_datas

zTestFormats.test_datacCsLtddd�}t�|�}ttjd�D]"}t�||�}|�t�|�|�q$dS)Nrrr
r)	rrr�range�pickle�HIGHEST_PROTOCOL�dumpsr�loads)rrr�proto�dumprrr�test_pickleables

zTestFormats.test_pickleableN)�__name__�
__module__�__qualname__rrrrrrrsr�__main__)	rrZunittestZtest.supportrZTestCaserr �mainrrrr�<module>s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists