a
    PfF                     @   s*   d dl Zd dlmZmZ G dd dZdS )    N)Series
date_rangec                   @   s   e Zd Zdd Zdd ZdS )TestIsMonotonicc                 C   st   t tjdjdddd}|jr&J t td}|jdu sBJ |jdu sPJ t tddd}|jdu spJ d S )N   r   
   i  )sizeT)r   nprandomZdefault_rngZintegersis_monotonic_increasingZarangeis_monotonic_decreasingselfZser r   f/var/www/ai-form-bot/venv/lib/python3.9/site-packages/pandas/tests/series/methods/test_is_monotonic.pytest_is_monotonic_numeric
   s    
z)TestIsMonotonic.test_is_monotonic_numericc                 C   s\   t tddd}|jdu sJ |jdu s,J t tt|}|jdu sJJ |jdu sXJ d S )NZ20130101r   )ZperiodsTF)r   r   r   listreversedr   r   r   r   r   test_is_monotonic_dt64   s    z&TestIsMonotonic.test_is_monotonic_dt64N)__name__
__module____qualname__r   r   r   r   r   r   r   	   s   	r   )numpyr	   Zpandasr   r   r   r   r   r   r   <module>   s   