code: def test_inverse(self):
      for n in [1, 4, 9, 100, 211]:
          x = random.random((n,))
          assert_array_almost_equal(ifftshift(fftshift(x)), x)
  
file_path: scipy/scipy/fftpack/tests/test_helper.py
imports: from numpy.testing import assert_array_almost_equal
  from scipy.fftpack import fftshift, ifftshift, fftfreq, rfftfreq
  from numpy import pi, random
label_desc: Use image node_id 2 for calling the TestFFTShift obj's underlying member method code with example usage: obj.test_inverse() without return types