o
    �¨ÊhF  ã                   @   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   ú_/var/www/html/env/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    