code: def test_pitch(self):
      # test natural pitches
      for pn, pid in zip("CDEFGAB", [0, 2, 4, 5, 7, 9, 11]):
          self.assertEqual(pitch(pn), pid)
  
      # test modifiers
      self.assertEqual(pitch("C#"), 1)
      self.assertEqual(pitch("Cb"), 11)
      self.assertEqual(pitch("E#"), 5)
      self.assertEqual(pitch("Bb"), 10)
  
      # test multiple modifiers
      self.assertEqual(pitch("Bbb"), 9)
      self.assertEqual(pitch("G#b"), 7)
      self.assertEqual(pitch("Dbb"), 0)
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.evaluation.chords import *
  from .None import ANNOTATIONS_PATH, DETECTIONS_PATH
label_desc: Use image node_id 2 for calling the TestChordParsing obj's underlying member method code with example usage: obj.test_pitch() without return types