+
    Bi                        ^ RI HtHt ^ RIHt ^ RIHtHt ^tRt	Rt
Rt ! R R]4      tRtRt^],          t ! R R	]]4      t]! R
4      t]! R4      t]! R4      t ! R R]]4      t ! R R4      t ! R R]]4      t ! R R]]4      tR# )    )EnumIntEnum)isnan)PyTestCTestc                   &    ] tR t^
t]t]t]t	]
tRtR# )BigNum N)__name__
__module____qualname____firstlineno__SMALLsmallBIGbigHUGEhugeREALLY_HUGEreally_huge__static_attributes__r
       //usr/lib/python3.14/test/test_json/test_enum.pyr	   r	   
   s    E
CDKr   r	   g
@g!	@c                   "    ] tR t^t]t]t]t	Rt
R# )FloatNumr
   N)r   r   r   r   EePIpiTAUtaur   r
   r   r   r   r      s    	A	B
Cr   r   infz-infnanc                   "    ] tR t^t]t]t]t	Rt
R# )WierdNumr
   N)r   r   r   r   INFr"   NEG_INFneg_infNANr#   r   r
   r   r   r%   r%      s    
CG
Cr   r%   c                   D   a  ] tR t^"t o R tR tR tR tR tR t	Rt
V tR# )	TestEnumc                <   \          F  pV P                  V P                  V4      \        VP                  4      4       V P                  \        V P                  V4      4      V4       V P                  V P                  V P                  V4      4      V4       K  	  R # N)r   assertEqualdumpsreprvaluefloatloadsselfenums   & r   test_floatsTestEnum.test_floats$   sn    DTZZ-tDJJ/?@U4::d#34d;TZZ

4(894@ r   c           
     (   \        \        R4       F  w  rV P                  V P                  V4      V4       \	        V4      '       g]   V P                  \        V P                  V4      4      V4       V P                  V P                  V P                  V4      4      V4       K  V P                  \	        \        V P                  V4      4      4      4       V P                  \	        V P                  V P                  V4      4      4      4       K  	  R# )InfinityN)r:   	-InfinityNaN)zipr%   r.   r/   r   r2   r3   
assertTrue)r5   r6   expecteds   &  r   test_weird_floatsTestEnum.test_weird_floats*   s    !(,LMNDTZZ-x8;;  tzz$'7!8$?  DJJt,<!=tDeDJJt,<&= >?djjD1A&B CD Nr   c                <   \          F  pV P                  V P                  V4      \        VP                  4      4       V P                  \        V P                  V4      4      V4       V P                  V P                  V P                  V4      4      V4       K  	  R # r-   )r	   r.   r/   strr1   intr3   r4   s   & r   	test_intsTestEnum.test_ints4   sm    DTZZ-s4::?SD!12D9TZZ

4(894@ r   c                   V P                  V P                  \        \        4      4      \	        \
        \        \        \        .4      4       V P                  V P                  V P                  \        \        4      4      4      \        \        4      4       V P                  V P                  \        \        4      4      \	        \        \        \        .4      4       V P                  V P                  V P                  \        \        4      4      4      \        \        4      4       V P                  V P                  \        \        4      4      R 4       V P                  V P                  V P                  \        \        4      4      4      R,          \        \        4      R,          4       V P                  \!        V P                  V P                  \        \        4      4      4      ^,          4      4       R# )z[Infinity, -Infinity, NaN]:N   NN)r.   r/   listr	   rC   r   r   r   r   r3   r   r   r   r    r%   r>   r   )r5   s   &r   	test_listTestEnum.test_list:   s8   DL1eS$<=	?DJJtF|$<=f	'DN3aS\*	,DJJtH~$>?h	)DN34	6DJJtH~$>?Ch+	-djjDN)CDQGHIr   c                R   \         w  rr4\        w  rVp\        w  rp
VR VRVRVRVRVRVRVRV	RV
R	/
pV P                  V P	                  V4      4      pV P                  V\        \        4      ,          R 4       V P                  V\        \        4      ,          R4       V P                  V\        \        4      ,          R4       V P                  V\        \        4      ,          R4       V P                  V\        \        4      ,          R4       V P                  V\        \        4      ,          R4       V P                  V\        \        4      ,          R4       V P                  VR,          R4       V P                  VR,          R4       V P                  VR	,          R	4       R
# )tinylargelargerlargestzEuler's numberr   r!   r:   r;   r<   N)r	   r   r%   r3   r/   r.   rC   r   r   r   r   r0   r   r   r    )r5   sbhrr   ptijndnds   &            r   test_dict_keysTestEnum.test_dict_keysI   sO   
aaafa8Qy$%j!K5
 ZZ

1&CJ0CHw/CI1C,-y9DG&67DHt,DI.J4K+6EE*r   c                   \        \        P                  \        P                  \        P                  \        P
                  \        P                  \        P                  \        P                  \        P                  \        P                  \        P                  R 7
      pV P                  V P                  V4      4      pV P!                  VR,          \"        4       V P!                  VR,          \$        4       V P!                  VR,          \&        4       V P!                  VR,          \(        4       V P!                  VR,          \*        4       V P!                  VR,          \,        4       V P!                  VR,          \.        4       V P!                  VR,          \0        4       V P!                  VR	,          \2        4       V P5                  \7        VR
,          4      4       R# ))
rM   rN   rO   rP   r   r   r!   rW   rX   rY   rM   rN   rO   rP   r   r   r!   rW   rX   rY   N)dictr	   r   r   r   r   r   r   r   r!   r%   r"   r(   r#   r3   r/   r.   r   r   r   r   r   r   r    r&   r'   r>   r   )r5   rZ   r[   s   &  r   test_dict_valuesTestEnum.test_dict_values^   s6   \\jj{{****;;LL,,"",, ZZ

1&FU+Gc*Ht,I4C!$D2&EC(C#&C'*bg'r   r
   N)r   r   r   r   r7   r@   rE   rJ   r\   r`   r   __classdictcell__)__classdict__s   @r   r+   r+   "   s,     AEAJ+*( (r   r+   c                       ] tR t^wtRtR# )
TestPyEnumr
   Nr   r   r   r   r   r
   r   r   re   re   w   s    Dr   re   c                       ] tR t^xtRtR# )	TestCEnumr
   Nrf   r
   r   r   rh   rh   x   s    $r   rh   Nl        l            l               @ )r6   r   r   mathr   test.test_jsonr   r   r   r   r   r   r	   r   r   r    r2   r   r&   r'   r)   r%   r+   re   rh   r
   r   r   <module>rk      s      (	W  "fud 
 El
-Elud 
S( S(j )6 ( &% &r   