code: def testNegatives(self):
      # this is not a valid input as the magnitudes of a spectrum, but the
      # test will let us know when the behavior of the algorithm changes
      input1 = [-3] * 100
      input2 = [-3.1] * 100
  
      fluxAlgo = Flux()
      self.assertAlmostEqual(fluxAlgo(input1), 30)
      self.assertAlmostEqual(fluxAlgo(input2), 1, 1e-6)
  
file_path: essentia/test/src/unittests/spectral/test_flux.py
imports: from essentia_test import *
label_desc: Use image node_id 6 for calling the TestFlux obj's underlying member method code with example usage: obj.testNegatives() without return types