o
    Û­j  ã                   @   s.   d dl Z d dlZd dlmZ G dd„ dƒZdS )é    N)Úperiod_arrayc                   @   s.   e Zd Zdd„ Zej dddg¡dd„ ƒZdS )	ÚTestReductionsc                 C   sŒ   t g d¢dd�}| ¡ }tjddd�}||ksJ ‚| ¡ }tjddd�}||ks*J ‚|jdd�}|tju s7J ‚|jdd�}|tju sDJ ‚d S )N)ú
2000-01-03r   ÚNaTú
2000-01-02ú
2000-01-05z
2000-01-04ÚD©Úfreqr   r   F©Úskipna)r   ÚminÚpdÚPeriodÚmaxr   )ÚselfÚarrÚresultÚexpected© r   úg/var/www/html/CropPilot/venv/lib/python3.10/site-packages/pandas/tests/arrays/period/test_reductions.pyÚtest_min_max   s   ÷zTestReductions.test_min_maxr   TFc                 C   sD   t g dd�}|j|d�}|tju sJ ‚|j|d�}|tju s J ‚d S )Nr   r	   r   )r   r   r   r   r   )r   r   r   r   r   r   r   Útest_min_max_empty#   s
   z!TestReductions.test_min_max_emptyN)Ú__name__Ú
__module__Ú__qualname__r   ÚpytestÚmarkÚparametrizer   r   r   r   r   r      s    r   )r   Úpandasr   Úpandas.core.arraysr   r   r   r   r   r   Ú<module>   s    