code: def test_sma_params():
      params = {"z": 0.03}
  
      new_sma = sma.SMA(params=params)
  
      assert new_sma.z == 0.03
  
file_path: opytimizer/tests/opytimizer/optimizers/science/test_sma.py
imports: import numpy
  from opytimizer.optimizers.science import sma
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_sma_params() without return types