code: def testComprehensive(self):
      p = Pool()
      mat = ones((2, 2))
      p.add("reals.single", 2)
      p.add("reals.single", 4)
      p.add("reals.vec", [3, 4, 5])
      p.add("reals.vec", [5, 6, 7, 8])
      p.add("reals.matrix", mat)
      p.add("strs.vec", ["foo", "bar"])
      p.add("strs.vec", ["bar", "foo"])
      p.add("really.long.key.name", 2008)
      p.add("really.long.something.else", 2009)
      p.add("strs.single", "foo")
      p.add("strs.single", "bar")
  
      YamlOutput(filename="test.yaml")(p)
  
      result = getYaml("test.yaml")
      expected = (
          self.metadata
          + """
  really:
      long:
          key:
              name: [2008]
          something:
              else: [2009]
  
  reals:
      single: [2, 4]
      vec: [[3, 4, 5], [5, 6, 7, 8]]
      matrix: [[[1, 1], [1, 1]]]
  
  strs:
      single: ["foo", "bar"]
      vec: [["foo", "bar"], ["bar", "foo"]]
  """
      )
  
      self.assertEqual(result, expected)
  
imports: from essentia_test import *
  from essentia._essentia import version
  import os
  import json
label_desc: Use image node_id 11 for calling the TestYamlOutput obj's underlying member method code with example usage: obj.testComprehensive() without return types