code: def test_inner_join_indexer():
      a = np.array([1, 2, 3, 4, 5], dtype=np.int64)
      b = np.array([0, 3, 5, 7, 9], dtype=np.int64)
  
      index, ares, bres = libjoin.inner_join_indexer(a, b)
  
      index_exp = np.array([3, 5], dtype=np.int64)
      tm.assert_almost_equal(index, index_exp)
  
      aexp = np.array([2, 4], dtype=np.intp)
      bexp = np.array([1, 2], dtype=np.intp)
      tm.assert_almost_equal(ares, aexp)
      tm.assert_almost_equal(bres, bexp)
  
      a = np.array([5], dtype=np.int64)
      b = np.array([5], dtype=np.int64)
  
      index, ares, bres = libjoin.inner_join_indexer(a, b)
      tm.assert_numpy_array_equal(index, np.array([5], dtype=np.int64))
      tm.assert_numpy_array_equal(ares, np.array([0], dtype=np.intp))
      tm.assert_numpy_array_equal(bres, np.array([0], dtype=np.intp))
  
file_path: pandas/pandas/tests/libs/test_join.py
imports: import numpy
  import pytest
  from pandas._libs import join
  from pandas._libs.join import inner_join, left_outer_join
  import pandas._testing
label_desc: Use image node_id 3 for calling a global function with example usage: test_inner_join_indexer() without return types