#NEWLINE# def test_max_intercluster_distance( self ) : #NEWLINE# #INDENT# expected = [ 21 , 21 ] #NEWLINE# for i in range ( len ( self . clusterings ) ) : #NEWLINE# #INDENT# self . assertEqual ( DunnCalculator . max_intercluster_distance ( self . clusterings [ i ] , self . matrix ) , expected [ i ] )