code: def test_adjust(self):
      self.assertAlmostEqual(self.det[0]["start"], self.ann[0]["start"])
      self.assertAlmostEqual(self.det[-1]["end"], self.ann[-1]["end"])
      # the last 'N' chord should have been removed
      self.assert_chord_equal(self.det[-1]["chord"], chord("G:aug"))
  
      det = self.unadjusted_det.copy()
      # make detections shorter than annotations
      det = det[:-2]
      det[0]["start"] = 0.5
      det = adjust(det, self.ann)
  
      self.assertAlmostEqual(det[0]["start"], self.ann[0]["start"])
      self.assertAlmostEqual(det[-1]["end"], self.ann[-1]["end"])
      # should have filled up the chord sequence with a no-chord
      self.assert_chord_equal(det[-1]["chord"], chord("N"))
  
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 4 for calling the TestChordEvaluation obj's underlying member method code with example usage: obj.test_adjust() without return types