code: def test_get_intersection(self):
      li1 = [1, 2, 3, 4]
      li2 = [2, 3, 4, 5]
      li3 = [8]
  
      ind = get_intersection(li1, li2)
      assert ind == [2, 3, 4]
  
      ind = get_intersection(np.asarray(li2), np.asarray(li1))
      assert ind == [2, 3, 4]
  
      ind = get_intersection(li1, li1)
      assert ind == [1, 2, 3, 4]
  
      ind = get_intersection(li1, li3)
      assert ind == []
  
imports: from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import unittest
  import numpy
  from numpy.testing import assert_allclose
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises
  from sklearn.metrics import precision_score
  from sklearn.utils import check_random_state
  from pyod.utils.utility import check_parameter
  from pyod.utils.utility import standardizer
  from pyod.utils.utility import get_label_n
  from pyod.utils.utility import precision_n_scores
  from pyod.utils.utility import argmaxn
  from pyod.utils.utility import get_list_diff
  from pyod.utils.utility import get_diff_elements
  from pyod.utils.utility import get_intersection
  from pyod.utils.utility import invert_order
  from pyod.utils.utility import check_detector
  from pyod.utils.utility import score_to_label
label_desc: Use image node_id 10 for calling the TestMetrics obj's underlying member method code with example usage: obj.test_get_intersection() without return types