code: def test_med_fre(self):
      np.testing.assert_almost_equal(median_frequency(const0, Fs), 0.0)
      np.testing.assert_almost_equal(median_frequency(const1, Fs), 0.0)
      np.testing.assert_almost_equal(
          median_frequency(constNeg, Fs), 0.0
      )
      np.testing.assert_almost_equal(median_frequency(constF, Fs), 0.0)
      np.testing.assert_almost_equal(median_frequency(lin, Fs), 50.0)
      np.testing.assert_almost_equal(
          median_frequency(lin0, Fs), 150.0, decimal=1
      )
      np.testing.assert_almost_equal(
          median_frequency(wave, Fs), 5.0, decimal=1
      )
      np.testing.assert_almost_equal(
          median_frequency(offsetWave, Fs), 0.0, decimal=1
      )
      np.testing.assert_almost_equal(
          median_frequency(noiseWave, Fs), 146.0, decimal=1
      )
      np.testing.assert_almost_equal(
          median_frequency(x, Fs), 4.0, decimal=1
      )
  
imports: import unittest
  import numpy
  from tsfel.feature_extraction.features import *
label_desc: Use image node_id 36 for calling the TestFeatures obj's underlying member method code with example usage: obj.test_med_fre() without return types