a
    DBìjF  ã                   @   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   úl/mnt/bigstor/www/usecases/.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   