code: def test_f_min(self, f_min_rtol, locally_biased):
      # test that desired function value is reached within
      # relative tolerance of f_min_rtol
      f_min = 1.0
      bounds = 4 * [(-2.0, 10.0)]
      res = direct(
          self.sphere,
          bounds=bounds,
          f_min=f_min,
          f_min_rtol=f_min_rtol,
          locally_biased=locally_biased,
      )
      assert res.status == 3
      assert res.success
      assert res.fun < f_min * (1.0 + f_min_rtol)
      message = (
          "The best function value found is within a relative "
          f"error={f_min_rtol} of the (known) global optimum f_min"
      )
      assert res.message == message
  
imports: from numpy.testing import assert_allclose, assert_array_less
  import pytest
  import numpy
  from scipy.optimize import direct, Bounds
label_desc: Use image node_id 13 for calling the TestDIRECT obj's underlying member method code with example usage: obj.test_f_min(f_min_rtol, locally_biased) without return types