code: def test_one_minus_ned_metric(self):
      metric = OneMinusNEDMetric()
      metric.process(None, self.pred)
      eval_res = metric.evaluate(size=2)
      self.assertEqual(eval_res["recog/1-N.E.D"], 0.4875)
  
file_path: mmocr/tests/test_evaluation/test_metrics/test_recog_metric.py
imports: import unittest
  from mmengine.structures import LabelData
  from mmocr.evaluation import CharMetric, OneMinusNEDMetric, WordMetric
  from mmocr.structures import TextRecogDataSample
label_desc: Use image node_id 2 for calling the TestOneMinusNED obj's underlying member method code with example usage: obj.test_one_minus_ned_metric() without return types