code: def testPartialIntersection6(self):
      v1 = [1, 1, 2, 2, 3, 3]
      v2 = [1, 2, 3]
  
      values, ix1, ix2 = collections.intersect(v1, v2)
      self.assertEqual(values, [1, 2, 3])
      self.assertEqual(ix1, [0, 2, 4])
      self.assertEqual(ix2, [0, 1, 2])
  
      values, ix2, ix1 = collections.intersect(v2, v1)
      self.assertEqual(values, [1, 2, 3])
      self.assertEqual(ix1, [0, 2, 4])
      self.assertEqual(ix2, [0, 1, 2])
  
imports: import datetime
  from six.moves import xrange
  from .None import common
  from pyalgotrade import utils
  from pyalgotrade.utils import collections
  from pyalgotrade.utils import dt
label_desc: Use image node_id 8 for calling the IntersectTestCase obj's underlying member method code with example usage: obj.testPartialIntersection6() without return types