code: def test_encode_func(self):
      crds = encode(load_chords(join(ANNOTATIONS_PATH, "dummy.chords")))
      self.assertTrue((crds == DUMMY_ANNOTATIONS).all())
  
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 10 for calling the TestChordParsing obj's underlying member method code with example usage: obj.test_encode_func() without return types