Ë
    ¡eh  ã                   óJ   — 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«       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d„ Zd„ Zd„ Zy)ÚTestParametersÚtestsÚsrcÚ	parameterzconstant_real.f90zconstant_integer.f90zconstant_both.f90zconstant_compound.f90zconstant_non_compound.f90zconstant_array.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     ú]/var/www/skyplay_api_hub/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!   c                 óh  — t        j                  dt         j                  ¬«      }t        j                  dt         j                  ¬«      }| j                  j	                  ||«      }t        j
                  |g d¢«      sJ ‚t        j
                  |g d¢«      sJ ‚t        j
                  |d«      sJ ‚y )Nr   r   é   )ç        gš™™™™™¹?gš™™™™™É?)rD   g      $@g      4@g      >@g      D@g      3@)r   r   r#   r   Ú	foo_arrayr   )r   r   ÚyÚzs       r   Útest_constant_arrayz"TestParameters.test_constant_arrayr   s~   € Ü�I‰I�aœrŸz™zÔ*ˆÜ�I‰I�aœrŸz™zÔ*ˆØ�K‰K×!Ñ! ! QÓ'ˆÜ�{‰{˜1Ò1Ô2Ð2Ð2Ü�{‰{˜1Ò?Ô@Ð@Ð@Ü�{‰{˜1˜dÔ#Ð#Ñ#r!   c                 óÖ   — t        j                  dt         j                  ¬«      }| j                  j	                  |«      }t        j
                  ||j                  dd¬«      «      sJ ‚y )Nr   r   )r   r   ÚF)Úorder)r   r   r#   r   Úfoo_array_any_indexr   Úreshape)r   r   rF   s      r   Útest_constant_array_any_indexz,TestParameters.test_constant_array_any_indexz   sK   € Ü�I‰I�aœrŸz™zÔ*ˆØ�K‰K×+Ñ+¨AÓ.ˆÜ�{‰{˜1˜aŸi™i¨°c˜iÓ:Ô;Ð;Ñ;r!   c                 óF   — | j                   j                  «       }|dk(  sJ ‚y )Né	   )r   Úfoo_array_delimsr   s     r   Útest_constant_array_delimsz)TestParameters.test_constant_array_delims   s   € Ø�K‰K×(Ñ(Ó*ˆØ�AŠvˆ‰vr!   N)Ú__name__Ú
__module__Ú__qualname__r   ÚgetpathÚsourcesr   ÚmarkÚslowr   r%   r*   r/   r2   r6   r;   r>   rA   rH   rN   rR   © 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Øˆ�‰�W˜e [Ð2FÓGð€Gð ‡[�[×Ññ5ó ð5ð ‡[�[×Ññ5ó ð5ð ‡[�[×Ññ5ó ð5ð ‡[�[×Ññ<ó ð<ð ‡[�[×Ññ5ó ð5ð ‡[�[×Ññ5ó ð5ð ‡[�[×ÑñIó ðIð ‡[�[×ÑñIó ðIð ‡[�[×ÑñIó ðIò$ò<ó
r!   r   )r   Únumpyr   Ú r   ÚF2PyTestr   rZ   r!   r   ú<module>r^      s    ðÛ ã å ôy�T—]‘]õ yr!   