code: def test_encode_decode(self):
      encoder = text_encoder.ByteTextEncoder()
      self.assertEqual(self.ZH_HELLO_IDS, encoder.encode(ZH_HELLO))
      self.assertEqual(self.EN_HELLO_IDS, encoder.encode(EN_HELLO))
      self.assertEqual(self.EN_HELLO_IDS, encoder.encode("hello "))
      self.assertEqual(EN_HELLO, encoder.decode(self.EN_HELLO_IDS))
      self.assertEqual(ZH_HELLO, encoder.decode(self.ZH_HELLO_IDS))
      self.assertEqual(text_encoder.NUM_BYTES + 1, encoder.vocab_size)
  
imports: from __future__ import unicode_literals
  import os
  from absl.testing import parameterized
  import numpy
  from tensorflow_datasets import testing
  from tensorflow_datasets.core.deprecated.text import text_encoder
label_desc: Use image node_id 1 for calling the ByteTextEncoderTest obj's underlying member method code with example usage: obj.test_encode_decode() without return types