#NEWLINE# def test_undirected_unweighted( self ) : #NEWLINE# #INDENT# G = nx . cycle_graph ( 6 ) #NEWLINE# cells = nx . voronoi_cells ( self , { 0 , 3 } ) #NEWLINE# expected = { #NEWLINE# #INDENT# 0 : { 0 , 1 , 5 } , #NEWLINE# 3 : { 2 , 3 , 4 } , #NEWLINE# #UNINDENT# } #NEWLINE# assert_equal ( expected , cells )