
    CEj	                        d dl Z d dlZddlmZ ej                  j
                   G d dej                               Zej                  j
                   G d dej                               Zej                  j
                   G d d	ej                               Z	ej                  j
                   G d
 dej                               Z
ej                  j
                   G d dej                               Zy)    N   )utilc                   F    e Zd Z ej                  ddddd      gZdgZd Zy)	TestModuleFilterPublicEntitiestestssrcmodulesgh26920z$two_mods_with_one_public_routine.f90
mod1_func1c                      y N selfs    k/var/www/html/eeg-assistent/strom-signal/venv/lib/python3.12/site-packages/numpy/f2py/tests/test_modules.pytest_gh26920z+TestModuleFilterPublicEntities.test_gh26920           N__name__
__module____qualname__r   getpathsourcesonlyr   r   r   r   r   r      s4     	UIy2	
G Dr   r   c                   F    e Zd Z ej                  ddddd      gZdgZd Zy)	TestModuleWithoutPublicEntitiesr   r   r	   r
   z$two_mods_with_no_public_entities.f90r   c                      y r   r   r   s    r   r   z,TestModuleWithoutPublicEntities.test_gh26920"   r   r   Nr   r   r   r   r   r      s4     	UIy2	
G Dr   r   c                   >    e Zd Z ej                  dddd      gZd Zy)TestModuleDocStringr   r   r	   zmodule_data_docstring.f90c                 t    | j                   j                  j                  t        j                  d      k(  sJ y )Nz                     i : 'i'-scalar
                     x : 'i'-array(4)
                     a : 'f'-array(2,3)
                     b : 'f'-array(-1,-1), not allocated 
                     foo()

                     Wrapper for ``foo``.

)modulemod__doc__textwrapdedentr   s    r   test_module_docstringz)TestModuleDocString.test_module_docstring+   s2    {{&&(//1+
 
 	
 
r   N)r   r   r   r   r   r   r'   r   r   r   r    r    '   s!    t||GUI7RSTG	
r   r    c                       e Zd ZdZ ej
                  ddddd       ej
                  ddddd       ej
                  dddd	      gZd
 Zd Zy)TestModuleAndSubroutineexampler   r   r	   gh25337zdata.f90zuse_data.f90
regressionzdatonly.f90c                     | j                   j                  j                  d       dt        | j                         v sJ y )N   data)r"   r/   	set_shiftdirr   s    r   test_gh25337z$TestModuleAndSubroutine.test_gh25337@   s1    ""1%T[[))))r   c                 Z    t        | j                  j                        }d|v sJ d|v sJ y )N
data_array	max_value)r1   r"   datonly)r   namess     r   test_allocatable_in_dirz/TestModuleAndSubroutine.test_allocatable_in_dirD   s2    DKK''(u$$$e###r   N)	r   r   r   module_namer   r   r   r2   r8   r   r   r   r)   r)   7   sX    KWeY	:FWeY	>JWe\=AG*$r   r)   c                   B    e Zd ZdZ ej
                  dddd      gZd Zy)TestUsedModulefmathr   r   r	   zuse_modules.f90c                     t        | j                        D cg c]	  }d|vs| }}d|v sJ | j                  j                  j                  dd      dk(  sJ d|v sJ | j                  j                  j                  dd      dk(  sJ y c c}w )N__useopsr.         mathops
   )r1   r"   r?   sum_and_doublerB   add)r   xcompiled_modss      r   test_gh25867zTestUsedModule.test_gh25867R   s    $'$4FqAFF=((({{!!00A6"<<<M))){{""&&q!,222	 Gs
   	BBN)r   r   r   r9   r   r   r   rH   r   r   r   r;   r;   K   s(    KWeY0ABG3r   r;   )r%   pytest r   markslowF2PyTestr   r   r    r)   r;   r   r   r   <module>rN      s       T]]   dmm   
$-- 
 
 $dmm $ $& 3T]] 3 3r   