class_docstr: Test the StringEncoding module.
code: def test_string_contains_surrogates(self):
      self.assertFalse(StringEncoding.string_contains_surrogates("abc"))
      self.assertFalse(
          StringEncoding.string_contains_surrogates("\uABCD")
      )
      self.assertFalse(
          StringEncoding.string_contains_surrogates("\N{SNOWMAN}")
      )
  
      self.assertTrue(
          StringEncoding.string_contains_surrogates("\uD800")
      )
      self.assertTrue(
          StringEncoding.string_contains_surrogates("\uDFFF")
      )
      self.assertTrue(
          StringEncoding.string_contains_surrogates("\uD800\uDFFF")
      )
      self.assertTrue(
          StringEncoding.string_contains_surrogates("\uDFFF\uD800")
      )
      self.assertTrue(
          StringEncoding.string_contains_surrogates("\uD800x\uDFFF")
      )
  
imports: import sys
  import unittest
  import Cython.Compiler.StringEncoding
label_desc: Use image node_id 2 for calling the StringEncodingTest obj's underlying member method code with example usage: obj.test_string_contains_surrogates() without return types