code: def test_definition(self):
      x = [0, 1, 2, 3, 4, -4, -3, -2, -1]
      y = [-4, -3, -2, -1, 0, 1, 2, 3, 4]
      assert_array_almost_equal(fft.fftshift(x), y)
      assert_array_almost_equal(fft.ifftshift(y), x)
      x = [0, 1, 2, 3, 4, -5, -4, -3, -2, -1]
      y = [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4]
      assert_array_almost_equal(fft.fftshift(x), y)
      assert_array_almost_equal(fft.ifftshift(y), x)
  
file_path: catboost/contrib/python/numpy/py3/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 1 for calling the TestFFTShift obj's underlying member method code with example usage: obj.test_definition() without return types