code: def test_interval_list(self):
      # test interval creation
      self.assert_intervals_equal(
          interval_list("(1,3,5)"),
          np.array([1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0]),
      )
      self.assert_intervals_equal(
          interval_list("(1,b3,5)"),
          np.array([1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0]),
      )
      self.assert_intervals_equal(
          interval_list("(1,b3,5,b7)"),
          np.array([1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0]),
      )
  
      # test interval subtraction
      self.assert_intervals_equal(
          interval_list(
              "(*3)", np.array([1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0])
          ),
          np.array([1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]),
      )
  
      # test interval addition
      self.assert_intervals_equal(
          interval_list(
              "(3, b7)", np.array([1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0])
          ),
          np.array([1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 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 5 for calling the TestChordParsing obj's underlying member method code with example usage: obj.test_interval_list() without return types