code: def test_resize_by_factor_enlarge_volume_labels_in_z(
      module,
      object_set_empty,
      objects_empty,
      volume_labels,
      workspace_empty,
  ):
      objects_empty.segmented = volume_labels
  
      module.x_name.value = "InputObjects"
  
      module.method.value = "Factor"
  
      module.factor_x.value = module.factor_y.value = 2.0
  
      module.factor_z.value = 2
  
      module.run(workspace_empty)
  
      expected_labels = numpy.zeros((18, 40, 40), dtype=numpy.uint8)
  
      expected_labels[0:18, 4:16, 4:16] = 1
  
      expected_labels[0:10, 0:16, 24:36] = 2
  
      expected_labels[8:18, 24:36, 0:16] = 3
  
      expected_labels[2:16, 24:40, 24:40] = 4
  
      numpy.testing.assert_array_equal(
          object_set_empty.get_objects("ResizeObjects").segmented,
          expected_labels,
      )
  
      numpy.testing.assert_array_equal(
          workspace_empty.measurements.get_current_measurement(
              "InputObjects",
              FF_CHILDREN_COUNT % "ResizeObjects",
          ),
          [1, 1, 1, 1],
      )
  
      numpy.testing.assert_array_equal(
          workspace_empty.measurements.get_current_measurement(
              "ResizeObjects", FF_PARENT % "InputObjects"
          ),
          [1, 2, 3, 4],
      )
  
imports: import numpy
  import numpy.testing
  import pytest
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import FF_CHILDREN_COUNT, FF_PARENT
  import cellprofiler.modules.resizeobjects
  import cellprofiler_core.object
label_desc: Use image node_id 10 for calling a global function with example usage: test_resize_by_factor_enlarge_volume_labels_in_z(module, object_set_empty, objects_empty, volume_labels, workspace_empty) without return types