class_docstr: Unit test class for general utilities. 
class_docstr_tok: ["Unit","test","class","for","general","utilities","."]
docstr: A wrapper which returns a problem instance as a list. 
docstr_tok: ["A","wrapper","which","returns","a","problem","instance","as","a","list","."]
code: def _get_test_case_problem_instance(
      cls, obj, lb, ub, min_pt, max_pt, descr=""
  ):
      """A wrapper which returns a problem instance as a list."""
      min_val = float(obj(min_pt)) if min_pt is not None else None
      max_val = float(obj(max_pt)) if max_pt is not None else None
      bounds = np.vstack((lb, ub)).T
      problem_inst = Namespace(
          obj=obj,
          dim=len(lb),
          lb=lb,
          ub=ub,
          bounds=bounds,
          min_pt=min_pt,
          max_pt=max_pt,
          min_val=min_val,
          max_val=max_val,
          descr=descr,
      )
      return problem_inst
  
imports: from __future__ import absolute_import
  import os
  import time
  from argparse import Namespace
  import numpy
  from .ancillary_utils import is_nondecreasing
  from .base_test_class import BaseTestClass, execute_tests
  from .euclidean_synthetic_functions import get_mf_hartmann_function_data
  from .None import oper_utils
label_desc: Use image node_id 3 for calling the OptimisersTestCase obj's underlying member method code with example usage: obj._get_test_case_problem_instance(cls, obj, lb, ub, min_pt, max_pt, descr) and returns: problem_inst