code: def test_ffts_funcs():
      domain = Domain((33,), dx=[1.0])
      params = jnp.zeros((33, 1))
      field = FourierSeries(params, domain)
      ffts = field._ffts
      assert ffts == [jnp.fft.rfft, jnp.fft.irfft]
  
      params = params + 1j
      field = FourierSeries(params, domain)
      ffts = field._ffts
      assert ffts == [jnp.fft.fft, jnp.fft.ifft]
  
file_path: jaxdf/tests/test_fourierseries.py
imports: import jax.numpy
  import pytest
  from jax import jit
  from jaxdf.discretization import FourierSeries
  from jaxdf.geometry import Domain
label_desc: Use image node_id 2 for calling a global function with example usage: test_ffts_funcs() without return types