Ë
    ›2Úie  ã                   óR   — d dl Z d dlZd dlZddlmZ  G d„ dej                  «      Zy)é    Né   )Úutilc            
       óÐ  — e Zd Z ej                  dddd«       ej                  dddd«       ej                  dddd«       ej                  dddd«       ej                  dddd«      gZej                  j                  d	„ «       Z	ej                  j                  d
„ «       Z
ej                  j                  d„ «       Zej                  j                  d„ «       Zej                  j                  d„ «       Zej                  j                  d„ «       Zej                  j                  d„ «       Zej                  j                  d„ «       Zej                  j                  d„ «       Zy)ÚTestParametersÚtestsÚsrcÚ	parameterzconstant_real.f90zconstant_integer.f90zconstant_both.f90zconstant_compound.f90zconstant_non_compound.f90c                 ól  — t        j                  dt         j                  ¬«      d d d…   }t        j                  t
        | j                  j                  |«       t        j                  dt         j                  ¬«      }| j                  j                  |«       t        j                  |g d¢«      sJ ‚y ©Né   ©Údtypeé   é   )é   r   r   )	ÚnpÚarangeÚfloat32ÚpytestÚraisesÚ
ValueErrorÚmoduleÚ
foo_singleÚallclose©ÚselfÚxs     úV/var/www/html/acx/venv/lib/python3.12/site-packages/numpy/f2py/tests/test_parameter.pyÚtest_constant_real_singlez(TestParameters.test_constant_real_single   óx   € ô �I‰I�aœrŸz™zÔ*©3¨Q¨3Ñ/ˆÜ�‰”j $§+¡+×"8Ñ"8¸!Ô<ô �I‰I�aœrŸz™zÔ*ˆØ�‰×Ñ˜qÔ!Ü�{‰{˜1Ò3Ô4Ð4Ñ4ó    c                 ól  — t        j                  dt         j                  ¬«      d d d…   }t        j                  t
        | j                  j                  |«       t        j                  dt         j                  ¬«      }| j                  j                  |«       t        j                  |g d¢«      sJ ‚y r   )	r   r   Úfloat64r   r   r   r   Ú
foo_doubler   r   s     r   Útest_constant_real_doublez(TestParameters.test_constant_real_double   r    r!   c                 ól  — t        j                  dt         j                  ¬«      d d d…   }t        j                  t
        | j                  j                  |«       t        j                  dt         j                  ¬«      }| j                  j                  |«       t        j                  |g d¢«      sJ ‚y )Nr   r   r   r   )é   r   r   )	r   r   Úint32r   r   r   r   Úfoo_compound_intr   r   s     r   Útest_constant_compound_intz)TestParameters.test_constant_compound_int)   sx   € ô �I‰I�aœrŸx™xÔ(©¨1¨Ñ-ˆÜ�‰”j $§+¡+×">Ñ">ÀÔBô �I‰I�aœrŸx™xÔ(ˆØ�‰×$Ñ$ QÔ'Ü�{‰{˜1Ò3Ô4Ð4Ñ4r!   c                 ó¸   — t        j                  dt         j                  ¬«      }| j                  j	                  |«       t        j
                  |g d¢«      sJ ‚y )Né   r   )é   r   r   r   )r   r   r(   r   Úfoo_non_compound_intr   r   s     r   Útest_constant_non_compound_intz-TestParameters.test_constant_non_compound_int4   s?   € ô �I‰I�aœrŸx™xÔ(ˆØ�‰×(Ñ(¨Ô+Ü�{‰{˜1Ò:Ô;Ð;Ñ;r!   c                 ól  — t        j                  dt         j                  ¬«      d d d…   }t        j                  t
        | j                  j                  |«       t        j                  dt         j                  ¬«      }| j                  j                  |«       t        j                  |g d¢«      sJ ‚y r   )	r   r   r(   r   r   r   r   Úfoo_intr   r   s     r   Útest_constant_integer_intz(TestParameters.test_constant_integer_int;   sx   € ô �I‰I�aœrŸx™xÔ(©¨1¨Ñ-ˆÜ�‰”j $§+¡+×"5Ñ"5°qÔ9ô �I‰I�aœrŸx™xÔ(ˆØ�‰×Ñ˜AÔÜ�{‰{˜1Ò3Ô4Ð4Ñ4r!   c                 ól  — t        j                  dt         j                  ¬«      d d d…   }t        j                  t
        | j                  j                  |«       t        j                  dt         j                  ¬«      }| j                  j                  |«       t        j                  |g d¢«      sJ ‚y r   )	r   r   Úint64r   r   r   r   Úfoo_longr   r   s     r   Útest_constant_integer_longz)TestParameters.test_constant_integer_longF   sx   € ô �I‰I�aœrŸx™xÔ(©¨1¨Ñ-ˆÜ�‰”j $§+¡+×"6Ñ"6¸Ô:ô �I‰I�aœrŸx™xÔ(ˆØ�‰×Ñ˜QÔÜ�{‰{˜1Ò3Ô4Ð4Ñ4r!   c                 ól  — t        j                  dt         j                  ¬«      d d d…   }t        j                  t
        | j                  j                  |«       t        j                  dt         j                  ¬«      }| j                  j                  |«       t        j                  |g d¢«      sJ ‚y ©Nr   r   r   r   )é   r   r   )	r   r   r#   r   r   r   r   Úfoor   r   s     r   Útest_constant_bothz!TestParameters.test_constant_bothQ   st   € ô �I‰I�aœrŸz™zÔ*©3¨Q¨3Ñ/ˆÜ�‰”j $§+¡+§/¡/°1Ô5ô �I‰I�aœrŸz™zÔ*ˆØ�‰�‰˜ÔÜ�{‰{˜1ÒGÔHÐHÑHr!   c                 ól  — t        j                  dt         j                  ¬«      d d d…   }t        j                  t
        | j                  j                  |«       t        j                  dt         j                  ¬«      }| j                  j                  |«       t        j                  |g d¢«      sJ ‚y r8   )	r   r   r#   r   r   r   r   Úfoo_nor   r   s     r   Útest_constant_nozTestParameters.test_constant_no\   sx   € ô �I‰I�aœrŸz™zÔ*©3¨Q¨3Ñ/ˆÜ�‰”j $§+¡+×"4Ñ"4°aÔ8ô �I‰I�aœrŸz™zÔ*ˆØ�‰×Ñ˜1ÔÜ�{‰{˜1ÒGÔHÐHÑHr!   c                 ól  — t        j                  dt         j                  ¬«      d d d…   }t        j                  t
        | j                  j                  |«       t        j                  dt         j                  ¬«      }| j                  j                  |«       t        j                  |g d¢«      sJ ‚y r8   )	r   r   r#   r   r   r   r   Úfoo_sumr   r   s     r   Útest_constant_sumz TestParameters.test_constant_sumg   sx   € ô �I‰I�aœrŸz™zÔ*©3¨Q¨3Ñ/ˆÜ�‰”j $§+¡+×"5Ñ"5°qÔ9ô �I‰I�aœrŸz™zÔ*ˆØ�‰×Ñ˜AÔÜ�{‰{˜1ÒGÔHÐHÑHr!   N)Ú__name__Ú
__module__Ú__qualname__r   ÚgetpathÚsourcesr   ÚmarkÚslowr   r%   r*   r/   r2   r6   r;   r>   rA   © r!   r   r   r   	   sˆ  „ ð 	ˆ�‰�W˜e [Ð2EÓFØˆ�‰�W˜e [Ð2HÓIØˆ�‰�W˜e [Ð2EÓFØˆ�‰�W˜e [Ð2IÓJØˆ�‰�W˜e [Ð2MÓNð€Gð ‡[�[×Ññ5ó ð5ð ‡[�[×Ññ5ó ð5ð ‡[�[×Ññ5ó ð5ð ‡[�[×Ññ<ó ð<ð ‡[�[×Ññ5ó ð5ð ‡[�[×Ññ5ó ð5ð ‡[�[×ÑñIó ðIð ‡[�[×ÑñIó ðIð ‡[�[×ÑñIó ñIr!   r   )Úosr   Únumpyr   Ú r   ÚF2PyTestr   rI   r!   r   ú<module>rN      s%   ðÛ 	Û ã å ôgI�T—]‘]õ gIr!   