code: def test_czt_math(impulse, m, w, a):
      # z-transform of an impulse is 1 everywhere
      assert_allclose(
          signal.czt(impulse[2:], m=m, w=w, a=a),
          cupy.ones(m),
          rtol=1e-10,
      )
  
      # z-transform of a delayed impulse is z**-1
      assert_allclose(
          signal.czt(impulse[1:], m=m, w=w, a=a),
          signal.czt_points(m=m, w=w, a=a) ** -1,
          rtol=1e-10,
      )
  
      # z-transform of a 2-delayed impulse is z**-2
      assert_allclose(
          signal.czt(impulse, m=m, w=w, a=a),
          signal.czt_points(m=m, w=w, a=a) ** -2,
          rtol=1e-10,
      )
  
imports: from math import pi
  import pytest
  import cupy
  import numpy
  from cupy import testing
  from cupy.testing import assert_allclose
  import cupyx.scipy.fft
  import cupyx.scipy.signal
label_desc: Use image node_id 7 for calling a global function with example usage: test_czt_math(impulse, m, w, a) without return types