#NEWLINE# def testSimpleMultiStats( self ) : #NEWLINE# #INDENT# ts1 = self . ts1 #NEWLINE# ( dt , fields ) = ( yield ts1 . irange ( ) ) #NEWLINE# result = ts1 . imulti_stats ( ) #NEWLINE# self . assertTrue ( result ) #NEWLINE# self . assertEqual ( result [ 'type' ] , 'multi' ) #NEWLINE# self . assertEqual ( result [ 'start' ] , dt [ 0 ] ) #NEWLINE# self . assertEqual ( result [ 'stop' ] , dt [ ( - 1 ) ] ) #NEWLINE# self . assertEqual ( result [ 'N' ] , len ( dt ) )