
    i
                     |    d Z ddlZddlmZ g dZ G d dej
                        Zedk(  r ej                          yy)z(Tests for google.protobuf.text_encoding.    N)text_encoding))foo\rbar\nbaz\tr   s   foobar
baz	)"\'full of \"sound\" and \"fury\"\'r   s   'full of "sound" and "fury"')signi\\fying\\ nothing\\r   s   signi\fying\ nothing\)z\010\t\n\013\014\rz	\t\n\rs   	
c                       e Zd Zd Zd Zy)TextEncodingTestCasec                     t         D ]T  \  }}}| j                  |t        j                  |d             | j                  |t        j                  |d             V y )NF)as_utf8T)TEST_VALUESassertEqualr   CEscapeselfescapedescaped_utf8	unescapeds       }/var/www/catia.catastroantioquia-mas.com/valormas/lib/python3.12/site-packages/google/protobuf/internal/text_encoding_test.pytestCEscapez TextEncodingTestCase.testCEscape5   s\    ,7 H(y
w%--iGI
|%--iFHH    c                     t         D ]P  \  }}}| j                  |t        j                  |             | j                  |t        j                  |             R y )N)r   r   r   	CUnescaper   s       r   testCUnescapez"TextEncodingTestCase.testCUnescape<   sP    ,7 I(y
y-"9"9'"BC
y-"9"9,"GHIr   N)__name__
__module____qualname__r   r    r   r   r   r   4   s    HIr   r   __main__)	__doc__unittestgoogle.protobufr   r   TestCaser   r   mainr   r   r   <module>r#      sE   > /  )#I8,, I z(--/ r   