class_docstr: Base test class for Optimisers on Cartesian Product Spaces. 
docstr: Tests optimiser results. 
docstr_tok: ["Tests","optimiser","results","."]
code: def _test_optimiser_results(self, opt_val, opt_point, history, dcf):
      """Tests optimiser results."""
      cp_domain, orderings = load_cp_domain_from_config_file(dcf)
      raw_opt_point = get_raw_point_from_processed_point(
          opt_point,
          cp_domain,
          orderings.index_ordering,
          orderings.dim_ordering,
      )
      self.report(
          "Opt point: proc=%s, raw=%s." % (opt_point, raw_opt_point)
      )
      self.report(
          "True opt val sequence: %s."
          % (get_list_of_floats_as_str(history.curr_true_opt_vals))
      )
      saved_in_history = [
          key
          for key, _ in list(history.__dict__.items())
          if not key.startswith("__")
      ]
      self.report(
          "Stored in history: %s." % (saved_in_history), "test_result"
      )
      assert opt_val == history.curr_opt_vals[-1]
      assert len(opt_point) == cp_domain.num_domains
      assert is_nondecreasing(history.curr_opt_vals)
      assert is_nondecreasing(history.curr_true_opt_vals)
  
imports: import os
  import unittest
label_desc: Use image node_id 6 for calling the CPOptimiserBaseTestCase obj's underlying member method code with example usage: obj._test_optimiser_results(opt_val, opt_point, history, dcf) without return types