code: def test_fftfreq(n, d, c):
      c = c(n)
  
      r1 = np.fft.fftfreq(n, d)
      r2 = da.fft.fftfreq(n, d, chunks=c)
  
      assert normalize_chunks(c, r2.shape) == r2.chunks
  
      assert_eq(r1, r2)
  
imports: from __future__ import annotations
  from itertools import combinations_with_replacement
  import numpy
  import pytest
  import dask.array
  import dask.array.fft
  from dask.array.core import normalize_chunks
  from dask.array.fft import fft_wrap
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 10 for calling a global function with example usage: test_fftfreq(n, d, c) without return types