code: def test_definition(self):
      x = [0, 1, 2, 3, 4]
      assert_array_almost_equal(9 * fft.rfftfreq(9), x)
      assert_array_almost_equal(9 * pi * fft.rfftfreq(9, pi), x)
      x = [0, 1, 2, 3, 4, 5]
      assert_array_almost_equal(10 * fft.rfftfreq(10), x)
      assert_array_almost_equal(10 * pi * fft.rfftfreq(10, pi), x)
  
file_path: numpy/numpy/fft/tests/test_helper.py
imports: import numpy
  from numpy.testing import assert_array_almost_equal
  from numpy import fft, pi
label_desc: Use image node_id 1 for calling the TestRFFTFreq obj's underlying member method code with example usage: obj.test_definition() without return types