class_docstr: A base test class for all optimisers on Euclidean domains. 
docstr: Tests optimiser results. 
docstr_tok: ["Tests","optimiser","results","."]
code: def _test_optimiser_results(self, opt_val, opt_point, history):
      """Tests optimiser results."""
      assert opt_val == history.curr_opt_vals[-1]
      assert opt_point.shape[0] == self.func_caller.domain.dim
      assert is_nondecreasing(history.curr_opt_vals)
      assert is_nondecreasing(history.curr_true_opt_vals)
      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"
      )
  
imports: import numpy
  from ..exd import domains
  from .None import random_optimiser
  from ..exd.experiment_caller import EuclideanFunctionCaller
  from ..exd.worker_manager import SyntheticWorkerManager
  from ..apis.opt import maximise_function, maximise_multifidelity_function
  from ..utils.ancillary_utils import is_nondecreasing, get_list_of_floats_as_str, get_rounded_list
  from ..utils.base_test_class import BaseTestClass, execute_tests
  from ..utils.euclidean_synthetic_functions import get_syn_func_caller, get_mf_cost_function
  from ..utils import reporters
label_desc: Use image node_id 5 for calling the EuclideanOptimisersBaseTestCase obj's underlying member method code with example usage: obj._test_optimiser_results(opt_val, opt_point, history) without return types