U
    ?h]                     @   sV   d dl mZ d dlmZ d dlZdd Zdd ZG dd	 d	ejZe	d
krRe
  dS )    )compile_isolated)typesNc                 C   s   t | ||S N)maxabc r
   I/var/www/html/venv/lib/python3.8/site-packages/numba/tests/test_maxmin.pydomax3   s    r   c                 C   s   t | ||S r   )minr   r
   r
   r   domin3
   s    r   c                   @   s   e Zd Zdd Zdd ZdS )
TestMaxMinc                 C   sP   t }tjtjtjf}t||}|j}d}d}d}| |||||||| d S N         )r   r   int32float32doubler   entry_pointassertEqualselfZpyfuncZargtysZcresZcfuncr   r   r	   r
   r
   r   	test_max3   s    
zTestMaxMin.test_max3c                 C   sP   t }tjtjtjf}t||}|j}d}d}d}| |||||||| d S r   )r   r   r   r   r   r   r   r   r   r
   r
   r   	test_min3   s    
zTestMaxMin.test_min3N)__name__
__module____qualname__r   r   r
   r
   r
   r   r      s   r   __main__)Znumba.core.compilerr   Z
numba.corer   Zunittestr   r   ZTestCaser   r   mainr
   r
   r
   r   <module>   s   