code: def test_weighted_call():
      def square(x):
          return x**2
  
      assert square(2) == 4
  
      def cube(x):
          return x**3
  
      assert cube(2) == 8
  
      new_weighted = weighted.MultiObjectiveWeightedFunction(
          functions=[square, cube], weights=[0.5, 0.5]
      )
  
      assert new_weighted(2) == 6
  
label_desc: Use image node_id 3 for calling a global function with example usage: test_weighted_call() and returns: unknown, unknown