
    Kh_                     8    S SK rS SKJr  S SKJr   " S S5      rg)    N)array_utils)assert_equalc                   ,    \ rS rSrS rS rS rS rSrg)TestByteBounds   c                     [         R                  " S5      R                  SS5      n[        R                  " U5      u  p#[        X2-
  UR                  UR                  -  5        g N         )nparangereshaper   byte_boundsr   sizeitemsize)selfalowhighs       R/var/www/html/env/lib/python3.13/site-packages/numpy/lib/tests/test_array_utils.pytest_byte_boundsTestByteBounds.test_byte_bounds   sI     IIbM!!!Q'++A.	TZ!**!45    c                     [         R                  " S5      R                  SS5      nUR                  n[        R
                  " U5      u  p4[        XC-
  UR                  UR                  -  5        g r	   	r   r   r   Tr   r   r   r   r   r   r   br   r   s        r   "test_unusual_order_positive_stride1TestByteBounds.test_unusual_order_positive_stride   sP    IIbM!!!Q'CC++A.	TZ!**!45r   c                     [         R                  " S5      R                  SS5      nUR                  S S S2   n[        R
                  " U5      u  p4[        XC-
  UR                  UR                  -  5        g )Nr
   r   r   r   r   s        r   "test_unusual_order_negative_stride1TestByteBounds.test_unusual_order_negative_stride   sX    IIbM!!!Q'CC"I++A.	TZ!**!45r   c                     [         R                  " S5      nUS S S2   n[        R                  " U5      u  p4[	        XC-
  UR
                  S-  UR                  -  UR                  -
  5        g )Nr
      )r   r   r   r   r   r   r   r   s        r   test_stridedTestByteBounds.test_strided   sV    IIbMccF++A.	 	TZ!ajj!81::!EFr    N)	__name__
__module____qualname____firstlineno__r   r    r$   r(   __static_attributes__r*   r   r   r   r      s    666Gr   r   )numpyr   	numpy.libr   numpy.testingr   r   r*   r   r   <module>r3      s     ! &G Gr   