U
    ?h3                     @   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   s"   t ddd}t|dkstd S )N
      g      ?)nxZ!uniform_random_intersection_graphlenAssertionErrorselfG r   ]/var/www/html/venv/lib/python3.8/site-packages/networkx/generators/tests/test_intersection.pytest_random_intersection_graph   s    z4TestIntersectionGraph.test_random_intersection_graphc                 C   s"   t ddd}t|dkstd S )Nr   r      r   Zk_random_intersection_graphr   r   r   r   r   r    test_k_random_intersection_graph   s    z6TestIntersectionGraph.test_k_random_intersection_graphc                 C   s&   t jddddd}t|dks"t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   sH   t dddddddg}t|dks(tttt jddddddg d S )Nr   r   g?g?)r   Z!general_random_intersection_graphr   r   pytestZ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   Znetworkxr   r   r   r   r   r   <module>   s   