code: def testCosine(self):
      self.assertAlmostEqualVector(
          UnaryOperator(type="cos")(self.testInput),
          [
              0.540302306,
              -0.416146837,
              -0.989992497,
              -0.653643621,
              -0.966798193,
              0.284429234,
              0.829113805,
          ],
          1e-6,
      )
  
imports: from essentia_test import *
label_desc: Use image node_id 14 for calling the TestUnaryOperator obj's underlying member method code with example usage: obj.testCosine() without return types