
    ytf<                     6    d Z ddlmZ ddlmZ  G d de      Zy)zdTest Z85 encoding

confirm values and roundtrip with test values from the reference implementation.
    )TestCase)z85c                   $    e Zd Zd Zd Zd Zd Zy)TestZ85c                 x    d}t        j                  |      }|dk(  sJ t        j                  |      }||k(  sJ y )Ns    Gee0ZS!λZ+pd\&ܢ?s(   Yne@$w-vo<fVvi]a<NY6T1ed:M$fCG*[IaLV{hIDr   encodedecode)selfclient_publicencodeddecodeds       \/var/www/html/software/conda/envs/higlass/lib/python3.12/site-packages/zmq/tests/test_z85.pytest_client_publiczTestZ85.test_client_public   G    0 	 **]+EEEE**W%-'''    c                 x    d}t        j                  |      }|dk(  sJ t        j                  |      }||k(  sJ y )Ns    {dgirH߰Qek?s(   D:)Q[IlAW!ahhC2ac:9*A}h:p?([4%wOTJ%JR%csr   )r   client_secretr   r   s       r   test_client_secretzTestZ85.test_client_secret   r   r   c                 x    d}t        j                  |      }|dk(  sJ t        j                  |      }||k(  sJ y )Ns    T$2Ia|+'ŔRs(   rq:rM>}U?@Lns47E1%kR.o@n%FcmmsL/@{H8]yf7r   )r   server_publicr   r   s       r   test_server_publiczTestZ85.test_server_public)   r   r   c                 x    d}t        j                  |      }|dk(  sJ t        j                  |      }||k(  sJ y )Ns    iv($UŰMH?y%w:ӷs(   JTKVSB%%)wK0E.X)V>+}o?pNmC{O&4W4b!Ni{Lh6r   )r   server_secretr   r   s       r   test_server_secretzTestZ85.test_server_secret6   r   r   N)__name__
__module____qualname__r   r   r   r    r   r   r   r      s    ((((r   r   N)__doc__unittestr   	zmq.utilsr   r   r   r   r   <module>r#      s     3(h 3(r   