U
    c8                     @   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_increasingAssertionErrorZarangeis_monotonic_decreasingselfZser r   Q/tmp/pip-unpacked-wheel-g7fro6k3/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   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   )Znumpyr   Zpandasr   r   r   r   r   r   r   <module>   s   