code: def test_hz_to_note(hz, note, octave, cents):
      note_out = librosa.hz_to_note(hz, octave=octave, cents=cents)
      if np.isscalar(hz):
          assert note_out == note
      else:
          assert np.all(note_out == note)
  
imports: import os
  import sys
  import warnings
  import librosa
  import numpy
  import pytest
label_desc: Use image node_id 19 for calling a global function with example usage: test_hz_to_note(hz, note, octave, cents) without return types