HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/numpy/f2py/tests/__pycache__/test_isoc.cpython-310.pyc
o

���g~�@sFddlmZddlZddlZddlmZGdd�dej�Zdd�Z	dS)	�)�util�N)�assert_allclosec@s>eZdZe�dddd�gZdd�Zdd�Zd	d
�Zdd�Z	d
S)�TestISOC�tests�src�
isocintrinz
isoCtests.f90cC�$|jj�dd�}d}||ksJ�dS)Nr��)�module�coddity�c_add��self�out�exp_out�r�E/usr/local/lib/python3.10/dist-packages/numpy/f2py/tests/test_isoc.py�
test_c_double�zTestISOC.test_c_doublecCr	)Nr��)rr
�watrrrr�test_bindc_functionrzTestISOC.test_bindc_functioncCr	)Nrr�)rr
�c_add_int64rrrr�test_bindc_kindsrzTestISOC.test_bindc_kindscCsBt�gd��}t�gd��}|jj�||�}|d}t||�dS)N)rr
rr
)�np�arrayrr
�add_arrr)r�a�brrrrr�test_bindc_add_arrs
zTestISOC.test_bindc_add_arrN)
�__name__�
__module__�__qualname__r�getpath�sourcesrrrr#rrrrrs�rcCspddlm}dddii}dddii}dd	d
�}dddd�idg}}||||�\}}||ks0J�||ks6J�dS)Nr)�process_f2cmap_dict�integer�8�rubbish_type�INTEGER�4�int�long)r/r,)r+r.)�numpy.f2py.auxfuncsr))r)�
f2cmap_all�new_map�c2py_map�exp_map�
exp_maptyp�res_map�
res_maptyprrr�test_process_f2cmap_dict&s
r9)
�r�numpyr�pytest�
numpy.testingr�F2PyTestrr9rrrr�<module>s