code: def test_get_measurement_columns():
      """Test the get_measurement_columns method"""
      module = (
          cellprofiler.modules.identifytertiaryobjects.IdentifyTertiarySubregion()
      )
      module.primary_objects_name.value = PRIMARY
      module.secondary_objects_name.value = SECONDARY
      module.subregion_objects_name.value = TERTIARY
      columns = module.get_measurement_columns(None)
      expected = (
          (
              "Image",
              FF_COUNT % TERTIARY,
              COLTYPE_INTEGER,
          ),
          (
              TERTIARY,
              M_LOCATION_CENTER_X,
              COLTYPE_FLOAT,
          ),
          (
              TERTIARY,
              M_LOCATION_CENTER_Y,
              COLTYPE_FLOAT,
          ),
          (
              TERTIARY,
              M_NUMBER_OBJECT_NUMBER,
              COLTYPE_INTEGER,
          ),
          (
              PRIMARY,
              FF_CHILDREN_COUNT % TERTIARY,
              COLTYPE_INTEGER,
          ),
          (
              SECONDARY,
              FF_CHILDREN_COUNT % TERTIARY,
              COLTYPE_INTEGER,
          ),
          (
              TERTIARY,
              FF_PARENT % PRIMARY,
              COLTYPE_INTEGER,
          ),
          (
              TERTIARY,
              FF_PARENT % SECONDARY,
              COLTYPE_INTEGER,
          ),
      )
      assert len(columns) == len(expected)
      for column in columns:
          assert any(
              [
                  all([cv == ev for cv, ev in zip(column, ec)])
                  for ec in expected
              ]
          )
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.measurement
  import cellprofiler_core.modules
  from cellprofiler_core.constants.measurement import FF_COUNT, COLTYPE_INTEGER, M_LOCATION_CENTER_X, COLTYPE_FLOAT, M_LOCATION_CENTER_Y, M_NUMBER_OBJECT_NUMBER, FF_CHILDREN_COUNT, FF_PARENT, R_FIRST_IMAGE_NUMBER, R_SECOND_IMAGE_NUMBER, R_FIRST_OBJECT_NUMBER, R_SECOND_OBJECT_NUMBER
  import cellprofiler.modules.identifytertiaryobjects
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 8 for calling a global function with example usage: test_get_measurement_columns() without return types