class_docstr: Tests for LAX-backed scipy.fft implementations
code: def testDct(self, shape, dtype, n, axis, norm):
      rng = jtu.rand_default(self.rng())
      args_maker = lambda: (rng(shape, dtype),)
      jnp_fn = lambda a: jsp_fft.dct(a, n=n, axis=axis, norm=norm)
      np_fn = lambda a: osp_fft.dct(a, n=n, axis=axis, norm=norm)
      self._CheckAgainstNumpy(
          np_fn, jnp_fn, args_maker, check_dtypes=False, tol=1e-4
      )
      self._CompileAndCheck(jnp_fn, args_maker, atol=1e-4)
  
file_path: jax/tests/scipy_fft_test.py
imports: import itertools
  from absl.testing import absltest
  from jax._src import test_util
  import jax.scipy.fft
  import scipy.fft
  from jax import config
label_desc: Use image node_id 1 for calling the LaxBackedScipyFftTests obj's underlying member method code with example usage: obj.testDct(shape, dtype, n, axis, norm) without return types