code: def test_spectral_entropy(self):
      np.testing.assert_almost_equal(spectral_entropy(const0, Fs), 0.0)
      np.testing.assert_almost_equal(spectral_entropy(const1, Fs), 0.0)
      np.testing.assert_almost_equal(
          spectral_entropy(constNeg, Fs), 0.0
      )
      np.testing.assert_almost_equal(spectral_entropy(constF, Fs), 0.0)
      np.testing.assert_almost_equal(
          spectral_entropy(lin, Fs), 0.5983234852309258
      )
      np.testing.assert_almost_equal(
          spectral_entropy(lin0, Fs), 0.5745416630615365
      )
      np.testing.assert_almost_equal(
          spectral_entropy(wave, Fs), 1.5228376718814352e-29
      )
      np.testing.assert_almost_equal(
          spectral_entropy(offsetWave, Fs), 1.783049297437309e-29
      )
      np.testing.assert_almost_equal(
          spectral_entropy(noiseWave, Fs), 0.0301141821499739
      )
  
imports: import unittest
  import numpy
  from tsfel.feature_extraction.features import *
label_desc: Use image node_id 56 for calling the TestFeatures obj's underlying member method code with example usage: obj.test_spectral_entropy() without return types