code: def test_interval(self):
      # test 'natural' intervals
      for int_name, int_id in zip(
          ["{}".format(i) for i in range(1, 14)],
          [
              i % 12
              for i in [0, 2, 4, 5, 7, 9, 11, 12, 14, 16, 17, 19, 21]
          ],
      ):
          self.assertEqual(interval(int_name), int_id)
  
      # test modifiers
      self.assertEqual(interval("b3"), 3)
      self.assertEqual(interval("#4"), 6)
      self.assertEqual(interval("b7"), 10)
      self.assertEqual(interval("#7"), 0)
  
      # test multiple modifiers
      self.assertEqual(interval("##1"), 2)
      self.assertEqual(interval("#b5"), 7)
      self.assertEqual(interval("b#b6"), 8)
  
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 3 for calling the TestChordParsing obj's underlying member method code with example usage: obj.test_interval() without return types