ó
    ™“,j  ã                   ó(   • S SK r S SKr " S S5      rg)é    Nc                   ó2   • \ rS rSrS rS rS rS rS rSr	g)	ÚTestReciprocityé   c                 óp   • [         R                  " SS/5      n[         R                  " U5      nUS:X  d   eg )N©é   é   )r	   r   g      ð?©ÚnxÚDiGraphÚreciprocity©ÚselfÚDGr   s      Ú¸C:\Users\johnn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\networkx/algorithms/tests/test_reciprocity.pyÚtest_reciprocity_digraphÚ(TestReciprocity.test_reciprocity_digraph   s1   € Ü�ZŠZ˜ Ð(Ó)ˆÜ—n’n RÓ(ˆØ˜cÓ!Ð!Ñ!ó    c                 óÖ   • [         R                  " [        R                  5         [        R                  " 5       n[        R
                  " U5        S S S 5        g ! , (       d  f       g = f)N)ÚpytestÚraisesr   ÚNetworkXErrorr   Úoverall_reciprocity©r   r   s     r   Ú$test_overall_reciprocity_empty_graphÚ4TestReciprocity.test_overall_reciprocity_empty_graph   s9   € Ü�]Š]œ2×+Ñ+Õ,Ü—’“ˆBÜ×"Ò" 2Ô&÷ -×,Ö,ús   ¥,AÁ
A(c                 ó~   • [         R                  " / SQ5      n[         R                  " USS/5      nSSS.nX#:X  d   eg )N©r   )r	   é   )r   r	   r   r	   g        çUUUUUUå?r   r
   )r   r   r   Úexpected_reciprocitys       r   Útest_reciprocity_graph_nodesÚ,TestReciprocity.test_reciprocity_graph_nodes   s=   € Ü�ZŠZÒ0Ó1ˆÜ—n’n R¨!¨Q¨Ó0ˆØ#&Ð+=Ñ>ÐØÓ2Ð2Ñ2r   c                 ór   • [         R                  " / SQ5      n[         R                  " US5      nUS:X  d   eg )Nr   r	   r    r
   r   s      r   Útest_reciprocity_graph_nodeÚ+TestReciprocity.test_reciprocity_graph_node   s0   € Ü�ZŠZÒ0Ó1ˆÜ—n’n R¨Ó+ˆØÐ0Ó0Ð0Ñ0r   c                 óþ   • [         R                  " [        R                  5         [        R                  " S/5      nUR                  S5        [        R                  " US5        S S S 5        g ! , (       d  f       g = f)Nr   é   )r   r   r   r   r   Úadd_noder   r   s     r   Ú%test_reciprocity_graph_isolated_nodesÚ5TestReciprocity.test_reciprocity_graph_isolated_nodes!   sI   € Ü�]Š]œ2×+Ñ+Õ,Ü—’˜V˜HÓ%ˆBØ�K‰K˜ŒNÜ�NŠN˜2˜qÔ!÷ -×,Ö,ús   ¥A A.Á.
A<© N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   r"   r%   r*   Ú__static_attributes__r,   r   r   r   r      s   † ò"ò'ò3ò1õ"r   r   )r   Únetworkxr   r   r,   r   r   Ú<module>r3      s   ðÛ ã ÷"ò "r   