o
    ŀgF                     @   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 s!J |jdu s(J t tddd}|jdu s8J d S )N   r   
   i  )sizeT)r   nprandomdefault_rngintegersis_monotonic_increasingarangeis_monotonic_decreasingselfser r   a/var/www/html/myenv/lib/python3.10/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 s%J |jdu s,J d S )N20130101r   )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	   pandasr   r   r   r   r   r   r   <module>   s    