code: def test_map(self):
      name = "map"
      Metric = metrics_dict[name](config)
      self.assertEqual(
          Metric.metric_info(pos_idx, pos_len).tolist(),
          np.array(
              [
                  [0, 0, 0],
                  [1, 1, 1],
                  [1, (1 / 2), (1 / 3) * ((1 / 1) + (2 / 3))],
                  [0, 0, (1 / 3) * (1 / 2)],
              ]
          ).tolist(),
      )
  
file_path: RecBole/tests/metrics/test_topk_metrics.py
imports: import os
  import sys
  import unittest
  import numpy
  from recbole.config import Config
  from recbole.evaluator.register import metrics_dict
label_desc: Use image node_id 4 for calling the TestTopKMetrics obj's underlying member method code with example usage: obj.test_map() without return types