text: 
  """Tests for dqutils.dq3.string"""
  
  from unittest import TestCase
  from ...string import get_text
  from ..string import (CONTEXT, enum_string)
  
  class DQ3StringTestCase(TestCase):
      """Test functions defined in dqutils.dq3.string."""
  
      def test_get_text(self):
          """Test function dqutils.dq3.get_text."""
  
          text = get_text(
              b"\x26\x24\x12\x24\xDC\x0E\xAC",
              CONTEXT["charmap"],
              CONTEXT["delimiters"])
          self.assertTrue('ひのきのぼう' in text)
  
      def test_enum_string(self):
          """Test function dqutils.dq3.enum_string."""
  
          testdata = tuple(enum_string(0x100, 0x110))
  
          self.assertEqual(testdata[0][0], 0xFED659)
          self.assertTrue('せいすい' in get_text(
              testdata[0][1], CONTEXT["charmap"], CONTEXT["delimiters"]))
  
          self.assertEqual(testdata[15][0], 0xFED6CA)
          self.assertTrue('にじのしずく' in get_text(
              testdata[15][1], CONTEXT["charmap"], CONTEXT["delimiters"]))
  