o
    _~#g                     @   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   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/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    