+
    �°³j¿  ã                   ó  € R t ^ RIt^ RIt]P                  ! R4      t]P                  ! ^4      R]P                  ! ^4      R]P                  ! ^4      R]P                  ! 4       R/t	]P                  ! ^4      R]P                  ! ^4      R]P                  ! ^4      R	]P                  ! 4       R
]P                  ! ^4      R/t]P                  P                  R]	P                  4       4      R 4       t]P                  P                  R]	P!                  4       4      R 4       t]P                  P                  R]P                  4       4      R 4       t]P                  P                  R]P!                  4       4      R 4       tR# )zAUnit tests for the :mod:`networkx.algorithms.polynomials` module.NÚsympyÚ1z1x**3 + 3*x**2 + 4*x*y + 2*x + y**3 + 3*y**2 + 2*yzx**4 + x**3 + x**2 + x + yz$x**3 + 2*x**2 + 2*x*y + x + y**2 + yÚxzx**4 - 6*x**3 + 11*x**2 - 6*xz'x**5 - 5*x**4 + 10*x**3 - 10*x**2 + 4*xzx**4 - 5*x**3 + 8*x**2 - 4*xz#x**5 - 4*x**4 + 6*x**3 - 4*x**2 + xÚGc                 ó`   € \         P                  ! V 4      P                  V4      '       g   Q hR # ©N)ÚnxÚtutte_polynomialÚequals©r   Úexpecteds   &&Úk/home/luca/screen-checking/.venv/lib/python3.14/site-packages/networkx/algorithms/tests/test_polynomials.pyÚtest_tutte_polynomialr      s$   € ä×Ò˜qÓ!×(Ñ(¨×2Ò2Ð2Ò2ó    c                óî   € \         P                  ! V 4      p\         P                  ! W 4      p\         P                  ! V4      p\        P	                  W,          4      P                  V4      '       g   Q hR# )z–Tutte polynomial factors into the Tutte polynomials of its components.
Verify this property with the disjoint union of two copies of the input graph.
N)r   r	   Údisjoint_unionr   Úsimplifyr
   )r   Út_gÚHÚt_hs   &   r   Útest_tutte_polynomial_disjointr       sV   € ô
 ×
Ò
˜aÓ
 €CÜ
×Ò˜!Ó€AÜ
×
Ò
˜aÓ
 €CÜ�>‰>˜#�)Ó$×+Ñ+¨C×0Ò0Ð0Ò0r   c                 ó`   € \         P                  ! V 4      P                  V4      '       g   Q hR # r   )r   Úchromatic_polynomialr
   r   s   &&r   Útest_chromatic_polynomialr   +   s$   € ä×"Ò" 1Ó%×,Ñ,¨X×6Ò6Ð6Ò6r   c                óî   € \         P                  ! V 4      p\         P                  ! W 4      p\         P                  ! V4      p\        P	                  W,          4      P                  V4      '       g   Q hR# )zžChromatic polynomial factors into the Chromatic polynomials of its
components. Verify this property with the disjoint union of two copies of
the input graph.
N)r   r   r   r   r   r
   )r   Úx_gr   Úx_hs   &   r   Ú"test_chromatic_polynomial_disjointr   0   sV   € ô ×
!Ò
! !Ó
$€CÜ
×Ò˜!Ó€AÜ
×
!Ò
! !Ó
$€CÜ�>‰>˜#�)Ó$×+Ñ+¨C×0Ò0Ð0Ò0r   r   )Ú__doc__ÚpytestÚnetworkxr   Úimportorskipr   Úcomplete_graphÚcycle_graphÚdiamond_graphÚ_test_tutte_graphsÚ
path_graphÚ_test_chromatic_graphsÚmarkÚparametrizeÚitemsr   Úkeysr   r   r   © r   r   Ú<module>r-      s  ðÙ Gã ã à×Ò˜GÓ$€ð
 ×Ò�aÓ˜#Ø×Ò�aÓÐMØ‡N‚N�1ÓÐ3Ø×ÒÓÐ>ð	Ð ð ×Ò�aÓ˜#Ø×Ò�aÓÐ9Ø‡N‚N�1ÓÐ@Ø×ÒÓÐ6Ø‡M‚M�!ÓÐ;ðÐ ð ‡�×ÑÐ*Ð,>×,DÑ,DÓ,FÓGñ3ó Hð3ð ‡�×Ñ˜Ð0×5Ñ5Ó7Ó8ñ1ó 9ð1ð ‡�×ÑÐ*Ð,B×,HÑ,HÓ,JÓKñ7ó Lð7ð ‡�×Ñ˜Ð4×9Ñ9Ó;Ó<ñ1ó =ò1r   