code: def test_02_00_no_measurements(self):
      m = cellprofiler_core.measurement.Measurements()
      m.add_measurement(OBJECT_NAME, M_FEATURES[0], np.array([], float))
      rules = R.Rules()
      rules.rules += [
          R.Rules.Rule(
              OBJECT_NAME,
              M_FEATURES[0],
              ">",
              0,
              np.array([[1.0, -1.0], [-1.0, 1.0]]),
              False,
              1,
          )
      ]
      score = rules.score(m)
      self.assertEqual(score.shape[0], 0)
      self.assertEqual(score.shape[1], 2)
  
file_path: CellProfiler/tests/frontend/utilities/test_rules.py
imports: import unittest
  from io import StringIO
  import numpy
  import pytest
  import cellprofiler_core.measurement
  import cellprofiler.utilities.rules
label_desc: Use image node_id 2 for calling the TestRules obj's underlying member method code with example usage: obj.test_02_00_no_measurements() without return types