#NEWLINE# def testPartialIntersection1( self ) : #NEWLINE# #INDENT# ( values , ix1 , ix2 ) = collections . intersect ( [ 0 , 2 , 4 ] , [ 1 , 2 , 3 ] ) #NEWLINE# self . assertEqual ( len ( values ) , 1 ) #NEWLINE# self . assertEqual ( values [ 0 ] , 2 ) #NEWLINE# self . assertEqual ( ix1 [ 0 ] , 1 ) #NEWLINE# self . assertEqual ( ix2 [ 0 ] , 1 )