code: def test_best_results_1(Optimizer, search_space, objective):
      search_space = search_space
      objective_function = objective
  
      initialize = {"vertices": 2}
  
      hyper = Hyperactive()
      hyper.add_search(
          objective_function,
          search_space,
          optimizer=Optimizer(),
          n_iter=10,
          memory=False,
          initialize=initialize,
      )
      hyper.run()
  
      assert hyper.best_para(objective_function)["x1"] in list(
          hyper.search_data(objective_function)["x1"]
      )
  
file_path: Hyperactive/tests/test_optimizers/test_best_results.py
imports: import pytest
  import numpy
  from hyperactive import Hyperactive
  from ._parametrize import optimizers
label_desc: Use image node_id 5 for calling a global function with example usage: test_best_results_1(Optimizer, search_space, objective) without return types