o
    3Î®cž  ã                   @   s<   d Z ddlZddlmZ dd„ Zdd„ Zdd	„ Zd
d„ ZdS )zGUnit tests for the :mod:`networkx.algorithms.community.utils` module.

é    N)Úis_partitionc                  C   sn   t  d¡} t| ddhdhgƒsJ ‚t| ddhdhfƒsJ ‚t| ddgdgfƒs)J ‚t| ddgdggƒs5J ‚d S ©Né   r   é   é   ©ÚnxÚempty_graphr   ©ÚG© r   úU/tmp/pip-target-vg8gfxp4/lib/python/networkx/algorithms/community/tests/test_utils.pyÚtest_is_partition	   s
   
r   c                  C   s$   t  d¡} t| dhdhgƒrJ ‚d S ©Nr   r   r   r   r
   r   r   r   Útest_not_covering   s   
r   c                  C   s(   t  d¡} t| ddhddhgƒrJ ‚d S r   r   r
   r   r   r   Útest_not_disjoint   s   
r   c                  C   s&   t  d¡} t| ddhdhgƒrJ ‚d S r   r   r
   r   r   r   Útest_not_node   s   
r   )	Ú__doc__Únetworkxr   Únetworkx.algorithms.communityr   r   r   r   r   r   r   r   r   Ú<module>   s    