code: def test_type(self):
      inputs_val = np.random.random((1, N)).astype("float64")
      inputs = theano.shared(inputs_val)
  
      with self.assertRaises(AssertionError):
          theano.gpuarray.fft.curfft(inputs)
      with self.assertRaises(AssertionError):
          theano.gpuarray.fft.cuirfft(inputs)
  
file_path: Theano/theano/gpuarray/tests/test_fft.py
imports: from __future__ import absolute_import, print_function, division
  import unittest
  import numpy
  import theano
  import theano.tensor
  from theano.tests import unittest_tools
  import theano.gpuarray.fft
  from .config import mode_with_gpu
  from nose.plugins.skip import SkipTest
  from theano.gpuarray.fft import pygpu_available, skcuda_available, pycuda_available
label_desc: Use image node_id 4 for calling the TestFFT obj's underlying member method code with example usage: obj.test_type() without return types