+
    ,it                     H    R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 R tR# )z'Test the minimum spanning tree functionN)assert_)	csr_array)minimum_spanning_treec                     . RO. R	O. R
O. RO. RO.p \         P                  ! V 4      p . RO. RO. RO. RO. RO.p\         P                  ! V4      p\        V 4      p\        V4      pVP	                  4       p\
        P                  ! WAR4       \
        P                  ! VP	                  4       V R4       \        VRR7      p\
        P                  ! VP	                  4       VR4       \         P                  P                  R4       R F  p^\         P                  P                  WU34      ,           p \        V 4      p\        V4      p\        VP                  V8  4       \         P                  ! V^,
          4      p^WV^,           3&   \        V 4      p\        V4      p\         P                  ! WU34      p^WV^,           3&   \
        P                  ! VP	                  4       VR4       K  	  R# )    zIncorrect spanning tree found.zOriginal graph was modified.T)	overwritez/Graph was not properly modified to contain MST.i  N)r      r   r   r   )r   r   r   r   r   )r   r   r         )r   r   r	   r   r   )r   r   r
   r   r   )r   r   r   r   r   )r   r   r   r   r
   )r   r   r   r   r   )r
   
         )npasarrayr   r   toarraynptassert_array_equalrandomseedr   nnzarangezeros)graphexpectedcsgraphmintreemintree_arrayNidxs          O/usr/lib/python3/dist-packages/scipy/sparse/csgraph/tests/test_spanning_tree.pytest_minimum_spanning_treer    	   s    	E
 JJuE 	H
 zz(#H G#G,GOO%M=;= 7??,e&( $Gt<G7??,h9; IINN4 BII$$aV,,E" (0a  ii!n#a%iE"'0 88QF# c!ew0(,	.+     )__doc__numpyr   numpy.testingr   testingr   scipy.sparser   scipy.sparse.csgraphr   r     r!   r   <module>r)      s    -  !  " 69.r!   