
    J/Ph                         d dl mZmZ d dlmZmZ d dlmZ dZdZ	 G d de          Z
 G d d	e          Zed
k    r ej                     dS dS )    )njitcfunc)TestCaseunittest)cgutilsuQ   
def unicode_name1(ಠ_ರೃ, ಠਊಠ):
    return (ಠ_ರೃ) + (ಠਊಠ)
uI   
def Ծ_Ծ(ಠ_ರೃ, ಠਊಠ):
    return (ಠ_ರೃ) + (ಠਊಠ)
c                   &    e Zd Zd Zd Zd Zd ZdS )TestUnicodeNamesc                 :    i }t          ||           ||         }|S )N)exec)selfsrcfnameglbfns        ^/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/numba/tests/test_unicode_names.pymake_testcasezTestUnicodeNames.make_testcase   s"    S#Z	    c                     |                      t          d          }t          |          }|                      |dd          d           d S )Nunicode_name1         )r   r   r   assertEqualr   r   cfns      r   test_unicode_name1z#TestUnicodeNames.test_unicode_name1   sH    ??2hhQA&&&&&r   c                     |                      t          d          }t          |          }|                      |dd          d           d S )N   Ծ_Ծr   r   r   )r   unicode_name2r   r   r   s      r   test_unicode_name2z#TestUnicodeNames.test_unicode_name2   sH    w772hhQA&&&&&r   c                     |                      t          d          } t          d          |          }|                     |                    dd          d           d S )Nr   zint32(int32, int32)r   r   r   )r   r   r   r   ctypesr   s      r   
test_cfunczTestUnicodeNames.test_cfunc$   sY    w77*e)**2..Aq))1-----r   N)__name__
__module____qualname__r   r   r    r#    r   r   r	   r	      sP          ' ' '
' ' '
. . . . .r   r	   c                       e Zd Zd Zd ZdS )TestUnicodeUtilsc                     t          j        d          }|                     |t                     |                    d           d S )Nabclatin1)r   normalize_ir_textassertIsInstancestrencoder   outs     r   test_normalize_ir_textz'TestUnicodeUtils.test_normalize_ir_text+   s@    '..c3'''

8r   c                     t          j        t                    }|                     |t                     |                    d           d S )Nr,   )r   r-   r   r.   r/   r0   r1   s     r   test_normalize_ir_text_unicodez/TestUnicodeUtils.test_normalize_ir_text_unicode3   s@    '66c3'''

8r   N)r$   r%   r&   r3   r5   r'   r   r   r)   r)   *   s2              r   r)   __main__N)numbar   r   numba.tests.supportr   r   
numba.corer   r   r   r	   r)   r$   mainr'   r   r   <module>r;      s            2 2 2 2 2 2 2 2      
. . . . .x . . ..    x   $ zHMOOOOO r   