code: def test_spectral_distance(self):
      np.testing.assert_almost_equal(spectral_distance(const0, Fs), 0.0)
      np.testing.assert_almost_equal(
          spectral_distance(const1, Fs), -110.0
      )
      np.testing.assert_almost_equal(
          spectral_distance(constNeg, Fs), -110.0
      )
      np.testing.assert_almost_equal(
          spectral_distance(constF, Fs), -275.0
      )
      np.testing.assert_almost_equal(
          spectral_distance(lin, Fs), -1403.842529396485
      )
      np.testing.assert_almost_equal(
          spectral_distance(lin0, Fs), -377.7289783120891, decimal=5
      )
      np.testing.assert_almost_equal(
          spectral_distance(wave, Fs), -122750.0, decimal=1
      )
      np.testing.assert_almost_equal(
          spectral_distance(offsetWave, Fs), -623750.0, decimal=5
      )
      np.testing.assert_almost_equal(
          spectral_distance(noiseWave, Fs),
          -125372.23803384512,
          decimal=5,
      )
  
imports: import unittest
  import numpy
  from tsfel.feature_extraction.features import *
label_desc: Use image node_id 48 for calling the TestFeatures obj's underlying member method code with example usage: obj.test_spectral_distance() without return types