code: def test_rmse(self):
      rmse = RMSE()
  
      self.assertEqual(rmse.type, "rating")
      self.assertEqual(rmse.name, "RMSE")
  
      self.assertEqual(
          0, rmse.compute(np.asarray([0]), np.asarray([0]))
      )
      self.assertEqual(
          1, rmse.compute(np.asarray([0, 1]), np.asarray([1, 0]))
      )
      self.assertEqual(
          2,
          rmse.compute(
              np.asarray([0, 1]), np.asarray([2, 3]), np.asarray([1, 3])
          ),
      )
  
file_path: cornac/tests/cornac/metrics/test_rating.py
imports: import unittest
  import numpy
  from cornac.metrics.rating import RatingMetric
  from cornac.metrics import RMSE
  from cornac.metrics import MAE
  from cornac.metrics import MSE
label_desc: Use image node_id 4 for calling the TestRating obj's underlying member method code with example usage: obj.test_rmse() without return types