docstr: Test for the c++ interface (gen_string_ops.unicode_decode).
code: def testDecodeGenOp(
      self,
      doc,
      expected_row_splits=None,
      expected_char_values=None,
      expected_char_to_byte_starts=None,
      **args,
  ):
      """Test for the c++ interface (gen_string_ops.unicode_decode)."""
      result = gen_string_ops.unicode_decode_with_offsets(**args)
      self.assertAllEqual(expected_row_splits, result.row_splits)
      self.assertAllEqual(expected_char_values, result.char_values)
      self.assertAllEqual(
          expected_char_to_byte_starts, result.char_to_byte_starts
      )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_string_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 16 for calling the UnicodeDecodeTest obj's underlying member method code with example usage: obj.testDecodeGenOp(doc, expected_row_splits, expected_char_values, expected_char_to_byte_starts) without return types