code: def test_values(self):
      self.assertEqual(key_label_to_class("C major"), 0)
      self.assertEqual(key_label_to_class("C# major"), 1)
      self.assertEqual(key_label_to_class("D major"), 2)
      self.assertEqual(key_label_to_class("D# major"), 3)
      self.assertEqual(key_label_to_class("E major"), 4)
      self.assertEqual(key_label_to_class("F major"), 5)
      self.assertEqual(key_label_to_class("F# major"), 6)
      self.assertEqual(key_label_to_class("G major"), 7)
      self.assertEqual(key_label_to_class("G# major"), 8)
      self.assertEqual(key_label_to_class("A major"), 9)
      self.assertEqual(key_label_to_class("A# major"), 10)
      self.assertEqual(key_label_to_class("B major"), 11)
      self.assertEqual(key_label_to_class("C minor"), 0 + 12)
      self.assertEqual(key_label_to_class("C# minor"), 1 + 12)
      self.assertEqual(key_label_to_class("D minor"), 2 + 12)
      self.assertEqual(key_label_to_class("D# minor"), 3 + 12)
      self.assertEqual(key_label_to_class("E minor"), 4 + 12)
      self.assertEqual(key_label_to_class("F minor"), 5 + 12)
      self.assertEqual(key_label_to_class("F# minor"), 6 + 12)
      self.assertEqual(key_label_to_class("G minor"), 7 + 12)
      self.assertEqual(key_label_to_class("G# minor"), 8 + 12)
      self.assertEqual(key_label_to_class("A minor"), 9 + 12)
      self.assertEqual(key_label_to_class("A# minor"), 10 + 12)
      self.assertEqual(key_label_to_class("B minor"), 11 + 12)
      self.assertEqual(
          key_label_to_class("C major"), key_label_to_class("C maj")
      )
      self.assertEqual(
          key_label_to_class("F minor"), key_label_to_class("F min")
      )
      self.assertEqual(
          key_label_to_class("gb maj"), key_label_to_class("F# major")
      )
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.evaluation.key import *
  from .None import ANNOTATIONS_PATH, DETECTIONS_PATH
label_desc: Use image node_id 2 for calling the TestKeyLabelToClassFunction obj's underlying member method code with example usage: obj.test_values() without return types