
    Vh                     (    d Z ddlZd Zd Zd Zd Zy)zEUnit tests for the :mod:`networkx.algorithms.community.utils` module.    Nc                  f   t        j                  d      } t         j                  j                  | ddhdhg      sJ t         j                  j                  | ddhdhf      sJ t         j                  j                  | ddgdgf      sJ t         j                  j                  | ddgdgg      sJ y N   r         nxempty_graph	communityis_partitionGs    ^/home/dcms/DCMS/lib/python3.12/site-packages/networkx/algorithms/community/tests/test_utils.pytest_is_partitionr      s    
qA<<$$Q!Q!666<<$$Q!Q!666<<$$Q!Q!666<<$$Q!Q!666    c                  z    t        j                  d      } t         j                  j                  | dhdhg      rJ y Nr   r   r   r   r   s    r   test_not_coveringr      s5    
qA||((aS1#J7777r   c                  ~    t        j                  d      } t         j                  j                  | ddhddhg      rJ y r   r   r   s    r   test_not_disjointr      s:    
qA||((aVaV,<====r   c                  |    t        j                  d      } t         j                  j                  | ddhdhg      rJ y r   r   r   s    r   test_not_noder      s7    
qA||((aVaSM::::r   )__doc__networkxr	   r   r   r   r    r   r   <module>r      s    K 78
>
;r   