code: def testDocstringExamples(self):
      texts = [
          s.encode("utf8") for s in ["G\xf6\xf6dnight", "\U0001f60a"]
      ]
      codepoints1 = ragged_string_ops.unicode_split(texts, "UTF-8")
      (
          codepoints2,
          offsets,
      ) = ragged_string_ops.unicode_split_with_offsets(texts, "UTF-8")
      self.assertAllEqual(
          codepoints1,
          [
              [
                  b"G",
                  b"\xc3\xb6",
                  b"\xc3\xb6",
                  b"d",
                  b"n",
                  b"i",
                  b"g",
                  b"h",
                  b"t",
              ],
              [b"\xf0\x9f\x98\x8a"],
          ],
      )
      self.assertAllEqual(
          codepoints2,
          [
              [
                  b"G",
                  b"\xc3\xb6",
                  b"\xc3\xb6",
                  b"d",
                  b"n",
                  b"i",
                  b"g",
                  b"h",
                  b"t",
              ],
              [b"\xf0\x9f\x98\x8a"],
          ],
      )
      self.assertAllEqual(offsets, [[0, 1, 3, 5, 6, 7, 8, 9, 10], [0]])
  
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 7 for calling the UnicodeSplitTest obj's underlying member method code with example usage: obj.testDocstringExamples() without return types