
    xKg                         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                          yy)    )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y)TestUnicodeNamesc                 ,    i }t        ||       ||   }|S )N)exec)selfsrcfnameglbfns        b/home/alanp/www/video.onchill/myenv/lib/python3.12/site-packages/numba/tests/test_unicode_names.pymake_testcasezTestUnicodeNames.make_testcase   s    S#Z	    c                 x    | j                  t        d      }t        |      }| j                   |dd      d       y )Nunicode_name1         )r   r   r   assertEqualr   r   cfns      r   test_unicode_name1z#TestUnicodeNames.test_unicode_name1   s3    ?2hQA&r   c                 x    | j                  t        d      }t        |      }| j                   |dd      d       y )N   Ծ_Ծr   r   r   )r   unicode_name2r   r   r   s      r   test_unicode_name2z#TestUnicodeNames.test_unicode_name2   s3    w72hQA&r   c                     | j                  t        d      } t        d      |      }| j                  |j	                  dd      d       y )Nr   zint32(int32, int32)r   r   r   )r   r   r   r   ctypesr   s      r   
test_cfunczTestUnicodeNames.test_cfunc$   sA    w7*e)*2.Aq)1-r   N)__name__
__module____qualname__r   r   r    r#    r   r   r	   r	      s    '
'
.r   r	   c                       e Zd Zd Zd Zy)TestUnicodeUtilsc                 |    t        j                  d      }| j                  |t               |j	                  d       y )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              }| j                  |t               |j                  d       y )Nr,   )r   r-   r   r.   r/   r0   r1   s     r   test_normalize_ir_text_unicodez/TestUnicodeUtils.test_normalize_ir_text_unicode3   s.    ''6c3'

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