code: def test_delay(self):
      self.processor.delay = 1
      notes = self.processor(sample_act_rnn)
      self.assertTrue(np.allclose(notes[:, 0] - 1, self.result[:, 0]))
      self.assertTrue(np.allclose(notes[:, 1], self.result[:, 1]))
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.features import Activations
  from madmom.features.notes import *
  from madmom.io import load_notes
  from .None import ACTIVATIONS_PATH, AUDIO_PATH, DETECTIONS_PATH
label_desc: Use image node_id 3 for calling the TestNoteOnsetPeakPickingProcessorClass obj's underlying member method code with example usage: obj.test_delay() without return types