code: def testNextPowerOfTwo(self):
      self.assertEqual(nextPowerTwo(0), 0)
      self.assertEqual(nextPowerTwo(1), 1)
      top = 131072
      k = 2
      lastPowerTwo = 2
      while k < top:
          if not isPowerTwo(k):
              self.assertEqual(nextPowerTwo(k), 2 * lastPowerTwo)
          else:
              self.assertEqual(nextPowerTwo(k), k)
              lastPowerTwo = k
          k += 1
  
file_path: essentia/test/src/unittests/base/test_utils.py
imports: from essentia_test import *
  import math
  import cmath
  import sys
label_desc: Use image node_id 4 for calling the TestUtils obj's underlying member method code with example usage: obj.testNextPowerOfTwo() without return types