
    R1i/                     *    d Z ddlmZ ddlmZ dZd Zy)zASupport test functions, in a module small enough to carry inline.    )import_module)TestCase   c                     d t        |      t        fdt              D              }t        dt        f|      }||_        |j                  | j                  |             y)zERun our main documentation as a test and test functions in this file.c                       fd}|S )Nc                             S )N )selftests    P/home/cursorai/projects/iching/venv/lib/python3.12/site-packages/sgp4/wulfgar.pyrunz;add_test_functions.<locals>.wrap_test_function.<locals>.run   s
    6M    r	   )r   r   s   ` r   wrap_test_functionz.add_test_functions.<locals>.wrap_test_function
   s    	
r   c              3   h   K   | ])  }|j                  d       r| t        |            f + yw)test_N)
startswithgetattr).0namemoduler   s     r   	<genexpr>z%add_test_functions.<locals>.<genexpr>   s7      M$/D4??73K 1'&$2GHI$/s   /2TestFunctionsN)r   dictdirtyper   
__module__addTestloadTestsFromTestCase)loadertestsmodule_nametest_methodsr   r   r   s        @@r   add_test_functionsr#      sa    
 ;'F M$'KM ML8+|DM*M	MM&..}=>r   N)__doc__	importlibr   unittestr   
__unittestr#   r	   r   r   <module>r(      s    G # 
?r   