code: def test_note_to_hz(tuning, octave, accidental, round_midi: bool):
      note = "A{:s}".format(accidental)
  
      if octave is not None:
          note = "{:s}{:d}".format(note, octave)
      else:
          octave = 0
  
      if tuning is not None:
          note = "{:s}{:+d}".format(note, tuning)
      else:
          tuning = 0
  
      if round_midi:
          tuning = np.around(tuning, -2)
  
      hz_true = (
          440.0 * (2.0 ** (tuning * 0.01 / 12)) * (2.0 ** (octave - 4))
      )
  
      if accidental == "#":
          hz_true *= 2.0 ** (1.0 / 12)
      elif accidental in list("b!"):
          hz_true /= 2.0 ** (1.0 / 12)
  
      hz = librosa.note_to_hz(note, round_midi=round_midi)
      assert np.allclose(hz, hz_true)
  
      hz = librosa.note_to_hz([note], round_midi=round_midi)
      assert np.allclose(hz[0], hz_true)
  
imports: import os
  import sys
  import warnings
  import librosa
  import numpy
  import pytest
label_desc: Use image node_id 13 for calling a global function with example usage: test_note_to_hz(tuning, octave, accidental, round_midi) without return types