code: def test_fft(self):
      x = random(30) + 1j * random(30)
      expect = fft1(x)
      assert_array_almost_equal(expect, fft.fft(x))
      assert_array_almost_equal(expect, fft.fft(x, norm="backward"))
      assert_array_almost_equal(
          expect / np.sqrt(30), fft.fft(x, norm="ortho")
      )
      assert_array_almost_equal(expect / 30, fft.fft(x, norm="forward"))
  
imports: import queue
  import threading
  import multiprocessing
  import numpy
  import pytest
  from numpy.random import random
  from numpy.testing import assert_array_almost_equal, assert_array_equal, assert_allclose
  from pytest import raises
  import scipy.fft
label_desc: Use image node_id 2 for calling the TestFFT1D obj's underlying member method code with example usage: obj.test_fft() without return types