code: def test_average_power(self):
      np.testing.assert_almost_equal(average_power(const0, Fs), 0.0)
      np.testing.assert_almost_equal(
          average_power(const1, Fs), 1052.6315789473686
      )
      np.testing.assert_almost_equal(
          average_power(constNeg, Fs), 1052.6315789473686
      )
      np.testing.assert_almost_equal(
          average_power(constF, Fs), 6578.9473684210525
      )
      np.testing.assert_almost_equal(average_power(lin, Fs), 130000.0)
      np.testing.assert_almost_equal(
          average_power(lin0, Fs), 38781.16343490305, decimal=5
      )
      np.testing.assert_almost_equal(
          average_power(wave, Fs), 500.5005005005005, decimal=5
      )
      np.testing.assert_almost_equal(
          average_power(offsetWave, Fs), 4504.504504504504, decimal=5
      )
      np.testing.assert_almost_equal(
          average_power(noiseWave, Fs), 508.6274641575148, decimal=5
      )
  
imports: import unittest
  import numpy
  from tsfel.feature_extraction.features import *
label_desc: Use image node_id 39 for calling the TestFeatures obj's underlying member method code with example usage: obj.test_average_power() without return types