code: def test_cac_custom_iac(I):
      L = 5
      excl_factor = 1
      ref = naive_cac(I, L, excl_factor)
      custom_iac = naive_iac(I.shape[0])
      bidirectional = True
      comp = _cac(I, L, bidirectional, excl_factor, custom_iac)
      npt.assert_almost_equal(ref, comp)
  
imports: import functools
  import naive
  import numpy
  import numpy.testing
  import pytest
  from stumpy import aamp, core, floss, fluss, stump
  from stumpy.floss import _cac, _iac, _nnmark, _rea
label_desc: Use image node_id 8 for calling a global function with example usage: test_cac_custom_iac(I) without return types