U
    *if                     @   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   sn   t tjjdddd}|jr tt td}|jdks<t|jdksJtt tddd}|jdksjtd S )Nr   
   i  )sizeT)	r   nprandomrandintis_monotonicAssertionErrorZarangeis_monotonic_increasingis_monotonic_decreasingselfZser r   `/home/mars/bis/venv/lib/python3.8/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kst|jdks,tt tt|}|jdksJt|jdksXtd S )NZ20130101r   )ZperiodsTF)r   r   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   