o
    ˷e3                     @   s"   d dl Z d dlZG dd dZdS )    Nc                   @   s,   e Zd Zdd Zdd Zdd Zdd Zd	S )
TestIntersectionGraphc                 C   "   t ddd}t|dksJ d S )N
      g      ?)nx!uniform_random_intersection_graphlenselfG r   b/var/www/ideatree/venv/lib/python3.10/site-packages/networkx/generators/tests/test_intersection.pytest_random_intersection_graph      z4TestIntersectionGraph.test_random_intersection_graphc                 C   r   )Nr   r      r   k_random_intersection_graphr   r	   r   r   r    test_k_random_intersection_graph   r   z6TestIntersectionGraph.test_k_random_intersection_graphc                 C   s&   t jddddd}t|dksJ d S )Nr   r   r   i  )seedr   r	   r   r   r   'test_k_random_intersection_graph_seeded   s   z=TestIntersectionGraph.test_k_random_intersection_graph_seededc                 C   s>   t ddg d}t|dksJ ttt jddg d d S )Nr   r   )皙?皙?r   r   r   )r   r   r   r   )r   !general_random_intersection_graphr   pytestraises
ValueErrorr	   r   r   r   &test_general_random_intersection_graph   s   z<TestIntersectionGraph.test_general_random_intersection_graphN)__name__
__module____qualname__r   r   r   r   r   r   r   r   r      s
    r   )r   networkxr   r   r   r   r   r   <module>   s    