class_docstr: Unit test class for general utilities. 
class_docstr_tok: ["Unit","test","class","for","general","utilities","."]
docstr: Test direct optmisation.
docstr_tok: ["Test","direct","optmisation","."]
code: def test_direct(self):
      """Test direct optmisation."""
      self.report("DiRect minimise and maximise:")
      self._test_optimise_method(
          oper_utils.direct_ft_minimise, oper_utils.direct_ft_maximise
      )
  
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 6 for calling the OptimisersTestCase obj's underlying member method code with example usage: obj.test_direct() without return types