code: def test_entropy(self):
      np.testing.assert_almost_equal(entropy(const0), 0.0)
      np.testing.assert_almost_equal(entropy(const1), 0.0)
      np.testing.assert_almost_equal(entropy(constNeg), 0.0)
      np.testing.assert_almost_equal(entropy(constF), 0.0)
      np.testing.assert_almost_equal(entropy(lin), 1.0)
      np.testing.assert_almost_equal(entropy(lin0), 1.0)
      np.testing.assert_almost_equal(entropy(wave), 0.9620267810255854)
      np.testing.assert_almost_equal(
          entropy(offsetWave), 0.8890012261845581
      )
      np.testing.assert_almost_equal(entropy(noiseWave), 1.0)
  
imports: import unittest
  import numpy
  from tsfel.feature_extraction.features import *
label_desc: Use image node_id 33 for calling the TestFeatures obj's underlying member method code with example usage: obj.test_entropy() without return types