code: def test_values(self):
      # only onset and note number given
      result = expand_notes(NOTES[:, :2])
      self.assertTrue(np.allclose(result[:, :2], NOTES[:, :2]))
      self.assertTrue(np.allclose(result[:, 2], 0.6))
      self.assertTrue(np.allclose(result[:, 3], 100))
      # also duration given
      result = expand_notes(NOTES[:, :3], velocity=66)
      self.assertTrue(np.allclose(result[:, :3], NOTES[:, :3]))
      self.assertTrue(np.allclose(result[:, 3], 66))
      # also velocity given
      result = expand_notes(NOTES)
      self.assertTrue(np.allclose(result, NOTES))
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.utils import *
  from .None import ACTIVATIONS_PATH, ANNOTATIONS_PATH, AUDIO_PATH, DATA_PATH, DETECTIONS_PATH
  from .test_evaluation_notes import ANNOTATIONS
label_desc: Use image node_id 1 for calling the TestExpandNotesFunction obj's underlying member method code with example usage: obj.test_values() without return types