code: def test_optimizer_build():
      new_optimizer = optimizer.Optimizer()
  
      new_optimizer.build({"w": 1.5})
  
file_path: opytimizer/tests/opytimizer/core/test_optimizer.py
imports: import sys
  import numpy
  from opytimizer.core import function, optimizer
  from opytimizer.spaces import search
label_desc: Use image node_id 7 for calling a global function with example usage: test_optimizer_build() without return types