#NEWLINE# def testLabeledSPKernel( self ) : #NEWLINE# #INDENT# K = ShortestPath ( labeled = True ) #NEWLINE# for ( i , data ) in enumerate ( self . graphs ) : #NEWLINE# #INDENT# self . assertTrue ( ( K . gram ( data ) == self . answers_labeled [ i ] ) . all ( ) )