#NEWLINE# def test_clique_complete( self ) : #NEWLINE# #INDENT# c = harmonic_centrality ( self . K5 ) #NEWLINE# d = { #NEWLINE# #INDENT# 0 : 4 , #NEWLINE# 1 : 4 , #NEWLINE# 2 : 4 , #NEWLINE# 3 : 4 , #NEWLINE# 4 : 4 , #NEWLINE# #UNINDENT# } #NEWLINE# for n in sorted ( self . P3 ) : #NEWLINE# #INDENT# assert_almost_equal ( c [ n ] , d [ n ] , places = 3 )