HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3/dist-packages/hamcrest/library/number/__pycache__/ordering_comparison.cpython-38.pyc
U

�b�V��@sTddlmZddlZdZdZdZGdd�de�Zdd	�Zd
d�Zdd
�Z	dd�Z
dS)�)�BaseMatcherNzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc@s$eZdZdd�Zdd�Zdd�ZdS)�OrderingComparisoncCs||_||_||_dS�N)�value�comparison_function�comparison_description)�selfrrr�r	�M/usr/lib/python3/dist-packages/hamcrest/library/number/ordering_comparison.py�__init__szOrderingComparison.__init__cCs|�||j�Sr)rr)r�itemr	r	r
�_matchesszOrderingComparison._matchescCs$|�d��|j��d��|j�dS)Nza value � )Zappend_textrZappend_description_ofr)rZdescriptionr	r	r
�describe_tos
���zOrderingComparison.describe_toN)�__name__�
__module__�__qualname__rr
rr	r	r	r
r	srcCst|tjd�S)zgMatches if object is greater than a given value.

    :param value: The value to compare against.

    zgreater than)r�operator�gt�rr	r	r
�greater_thansrcCst|tjd�S)zsMatches if object is greater than or equal to a given value.

    :param value: The value to compare against.

    zgreater than or equal to)rr�gerr	r	r
�greater_than_or_equal_to#srcCst|tjd�S)zdMatches if object is less than a given value.

    :param value: The value to compare against.

    z	less than)rr�ltrr	r	r
�	less_than,srcCst|tjd�S)zpMatches if object is less than or equal to a given value.

    :param value: The value to compare against.

    zless than or equal to)rr�lerr	r	r
�less_than_or_equal_to5sr)Zhamcrest.core.base_matcherrr�
__author__Z
__copyright__Z__license__rrrrrr	r	r	r
�<module>s