HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/test/__pycache__/test_abstract_numbers.cpython-37.opt-2.pyc
B

��g��@sVddlZddlZddlZddlmZmZmZmZGdd�dej�Z	e
dkrRe��dS)�N)�Complex�Real�Rational�Integralc@s$eZdZdd�Zdd�Zdd�ZdS)�TestNumberscCs�|�ttt��|�ttt��|�dtd�j�|�dtd�j�|�dtd����|�dtd����|�dtd�j	�|�dtd�j
�dS)N�ri�����)�
assertTrue�
issubclass�intrr�assertEqual�real�imag�	conjugate�	numerator�denominator)�self�r�6/usr/local/lib/python3.7/test/test_abstract_numbers.py�test_int	szTestNumbers.test_intcCsp|�ttt��|�ttt��|�dtd�j�|�dtd�j�|�dtd��	��|�dtd��	��dS)Ng333333@rg333333�)
�assertFalser
�floatrr	rrr
rr)rrrr�
test_floatszTestNumbers.test_floatcCs�|�ttt��|�ttt��tdd�tdd�}}|�ttj	|�|�tt
j||�|�tt||�|�tt
j
||�|�tt|�|�tt|�dS)N���r)rr
�complexrr	rZassertRaises�	TypeError�mathZtrunc�operator�mod�divmod�floordivrr)rZc1Zc2rrr�test_complexszTestNumbers.test_complexN)�__name__�
__module__�__qualname__rrr#rrrrrs	r�__main__)rrZunittestZnumbersrrrrZTestCaserr$�mainrrrr�<module>s#