code: def test_read_ui(self):
      triplets = self.reader.read(self.data_file, fmt="UI")
      self.assertEqual(len(triplets), 30)
      self.assertEqual(triplets[0][1], "93")
      self.assertEqual(triplets[1][2], 1.0)
  
      triplets = self.reader.read(
          self.data_file, fmt="UI", id_inline=True
      )
      self.assertEqual(len(triplets), 40)
  
file_path: cornac/tests/cornac/data/test_reader.py
imports: import unittest
  from cornac.data import Reader
  from cornac.data.reader import read_text
label_desc: Use image node_id 3 for calling the TestReader obj's underlying member method code with example usage: obj.test_read_ui() without return types