code: def test_span_to_hyper_value():
      lb = np.full(1, 10)
      ub = np.full(1, 20)
  
      @hyper.span_to_hyper_value(lb, ub)
      def call(x):
          return np.sum(x)
  
      y = call(np.array([[0.5], [0.5]]))
  
      assert y == 30
  
imports: import numpy
  from opytimizer.math import hyper
label_desc: Use image node_id 3 for calling a global function with example usage: test_span_to_hyper_value() and returns: np