code: def wrap_single_fmt_test(vlo, vhi, fmt_expected):
      assert vlo < vhi
      plo, phi, fmts = round_parameterlimits(
          np.asarray([vlo]), np.asarray([vhi]), [(vlo, vhi)]
      )
      assert fmts[0] == fmt_expected, (fmts, fmt_expected)
      fmt = fmts[0]
      assert fmt % plo != fmt % phi, (
          fmt,
          plo,
          phi,
          fmt % plo,
          fmt % phi,
      )
  
file_path: ultranest/tests/test_viz.py
imports: import numpy
  from ultranest.viz import round_parameterlimits
label_desc: Use image node_id 2 for calling a global function with example usage: wrap_single_fmt_test(vlo, vhi, fmt_expected) without return types