code: def test_inverse(self):
      for n in [1, 4, 9, 100, 211]:
          x = np.random.random((n,))
          assert_array_almost_equal(fft.ifftshift(fft.fftshift(x)), x)
  
file_path: numpy/numpy/fft/tests/test_helper.py
imports: import numpy
  from numpy.testing import assert_array_almost_equal
  from numpy import fft, pi
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