code: def test_add_premultiply():
      def fn(module, workspace):
          module.operands[0].multiplicand.value = 2
          module.operands[1].multiplicand.value = 3
  
      measurements = run_workspace(
          cellprofiler.modules.calculatemath.O_ADD, True, 5, True, 7, fn
      )
      expected = 2 * 5 + 3 * 7
      data = measurements.get_current_measurement(
          "Image", MATH_OUTPUT_MEASUREMENTS
      )
      assert round(abs(data - expected), 7) == 0
  
imports: import numpy
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT, R_PARENT
  import cellprofiler.modules.calculatemath
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
label_desc: Use image node_id 5 for calling a global function with example usage: test_add_premultiply() without return types