code: def test_max_time_0():
      c_time1 = time.perf_counter()
      hyper = Hyperactive()
      hyper.add_search(objective_function, search_space, n_iter=1000000)
      hyper.run(max_time=0.1)
      diff_time1 = time.perf_counter() - c_time1
  
      assert diff_time1 < 1
  
imports: import time
  import numpy
  from hyperactive import Hyperactive
label_desc: Use image node_id 2 for calling a global function with example usage: test_max_time_0() without return types