
    \i:	                     .   S SK r S SKrS SKrS SKJrJrJrJrJ	r	J
r
JrJr  S SKJrJr  S SKJrJr  S r " S S5      rS rS	 r\R.                  R1                  S
\" 5       \" 5       \" 5       \	" 5       \" 5       \
" 5       \" 5       \" 5       /5      S 5       rg)    N)GeometryCollection
LinearRing
LineStringMultiLineString
MultiPointMultiPolygonPointPolygon)mappingshape)BaseGeometryEmptyGeometryc                      [        / 5      $ N)iter     h/var/www/html/kml_chatgpt/mouzaenv/lib/python3.13/site-packages/shapely/tests/geometry/test_emptiness.pyempty_generatorr      s    8Or   c                   P    \ rS rSrS rS rS rS rS rS r	S r
S	 rS
 rS rSrg)TestEmptiness   c                     [         R                  " [        5         [        5       nS S S 5        WR                  (       d   eg ! , (       d  f       N"= fr   )pytestwarnsFutureWarningr   is_emptyselfgs     r   test_empty_classTestEmptiness.test_empty_class   s/    \\-(A )zzz )(   A
Ac                     [         R                  " [        5         [        5       nS S S 5        WR                  (       d   eg ! , (       d  f       N"= fr   )r   r   r   r   r   r   s     r   test_empty_baseTestEmptiness.test_empty_base   s/    \\-(A )zzz )(r#   c                 :    [        5       R                  (       d   eg r   )r	   r   r   s    r   test_empty_pointTestEmptiness.test_empty_point#   s    wr   c                 :    [        5       R                  (       d   eg r   )r   r   r(   s    r   test_empty_multipoint#TestEmptiness.test_empty_multipoint&   s    |$$$$r   c                 :    [        5       R                  (       d   eg r   )r   r   r(   s    r   test_empty_geometry_collection,TestEmptiness.test_empty_geometry_collection)   s    !#,,,,r   c                     [        5       R                  (       d   e[        S 5      R                  (       d   e[        / 5      R                  (       d   e[        [        5       5      R                  (       d   eg r   )r   r   r   r(   s    r   test_empty_linestring#TestEmptiness.test_empty_linestring,   Q    |$$$$$(((("~&&&&/+,5555r   c                 <    [        / 5      R                  (       d   eg r   )r   r   r(   s    r   test_empty_multilinestring(TestEmptiness.test_empty_multilinestring2   s    r"++++r   c                     [        5       R                  (       d   e[        S 5      R                  (       d   e[        / 5      R                  (       d   e[        [        5       5      R                  (       d   eg r   )r
   r   r   r(   s    r   test_empty_polygon TestEmptiness.test_empty_polygon5   sP    y!!!!t}%%%%r{####()2222r   c                 <    [        / 5      R                  (       d   eg r   )r   r   r(   s    r   test_empty_multipolygon%TestEmptiness.test_empty_multipolygon;   s    B((((r   c                     [        5       R                  (       d   e[        S 5      R                  (       d   e[        / 5      R                  (       d   e[        [        5       5      R                  (       d   eg r   )r   r   r   r(   s    r   test_empty_linear_ring$TestEmptiness.test_empty_linear_ring>   r4   r   r   N)__name__
__module____qualname____firstlineno__r!   r%   r)   r,   r/   r2   r6   r9   r<   r?   __static_attributes__r   r   r   r   r      s4    

 %-6,3)6r   r   c                  j    [        5       [        5       /n [        R                  " S[        5      nXS S & g )N   )r	   r   npemptyobject)geomsarrs     r   test_numpy_object_arrayrM   E   s)    W(*+E
((1f
CFr   c                  j    [        5       n [        U 5      n[        U5      nUR                  (       d   eg r   )r   r   r   r   )empty_mp
empty_jsonempty_shapes      r   test_shape_emptyrR   K   s,    ~H"J
#Kr   geomc                     [        U R                  5      S:X  d   e[        S U R                   5       5      (       d   eg)z2The bounds of an empty geometry is a tuple of NaNs   c              3   N   #    U  H  n[         R                  " U5      v   M     g 7fr   )mathisnan).0vs     r   	<genexpr>-test_empty_geometry_bounds.<locals>.<genexpr>b   s     2ktzz!}}ks   #%N)lenboundsall)rS   s    r   test_empty_geometry_boundsr`   R   s6     t{{q   2dkk22222r   )rW   numpyrH   r   shapelyr   r   r   r   r   r   r	   r
   shapely.geometryr   r   shapely.geometry.baser   r   r   r   rM   rR   markparametrizer`   r   r   r   <module>rg      s      	 	 	 , =*6 *6Z  
		33r   