
    ʏkh3                     (    d dl Z d dlZ G d d      Zy)    Nc                   $    e Zd Zd Zd Zd Zd Zy)TestIntersectionGraphc                 R    t        j                  ddd      }t        |      dk(  sJ y )N
      g      ?)nx!uniform_random_intersection_graphlenselfGs     g/var/www/teggl/fontify/venv/lib/python3.12/site-packages/networkx/generators/tests/test_intersection.pytest_random_intersection_graphz4TestIntersectionGraph.test_random_intersection_graph   s&    00Q<1v||    c                 R    t        j                  ddd      }t        |      dk(  sJ y )Nr   r      r   k_random_intersection_graphr
   r   s     r    test_k_random_intersection_graphz6TestIntersectionGraph.test_k_random_intersection_graph   s&    **2q!41v||r   c                 V    t        j                  dddd      }t        |      dk(  sJ y )Nr   r   r   i  )seedr   r   s     r   'test_k_random_intersection_graph_seededz=TestIntersectionGraph.test_k_random_intersection_graph_seeded   s(    **2q!$?1v||r   c                     t        j                  ddg d      }t        |      dk(  sJ t        j                  t
        t         j                  ddg d       y )Nr   r   )皙?皙?r   r   r   )r   r   r   r   )r   !general_random_intersection_graphr
   pytestraises
ValueErrorr   s     r   &test_general_random_intersection_graphz<TestIntersectionGraph.test_general_random_intersection_graph   sH    00Q8QR1v||00 	
r   N)__name__
__module____qualname__r   r   r   r     r   r   r   r      s    	
r   r   )r   networkxr   r   r$   r   r   <module>r&      s     
 
r   