code: def test_organize_metrics(self):
      rating_metrics, ranking_metrics = BaseMethod.organize_metrics(
          [MAE(), AUC()]
      )
      self.assertEqual(len(rating_metrics), 1)  # MAE
      self.assertEqual(len(ranking_metrics), 1)  # AUC
  
      try:
          BaseMethod.organize_metrics(None)
      except ValueError:
          assert True
  
file_path: cornac/tests/cornac/eval_methods/test_base_method.py
imports: import unittest
  from cornac.eval_methods import BaseMethod
  from cornac.data import FeatureModality, TextModality, ReviewModality, ImageModality, SentimentModality
  from cornac.data import Dataset, Reader
  from cornac.metrics import MAE, AUC
  from cornac.models import MF
label_desc: Use image node_id 6 for calling the TestBaseMethod obj's underlying member method code with example usage: obj.test_organize_metrics() without return types