code: def test_transformation(self):
      import random
  
      random.seed(100)
      sent1 = "昂嗯按宁您能嫩黄换"
      data_sample = UTCnSample({"x": sent1, "y": "negative"})
      trans_method = CnNasal()
      x = trans_method.transform(data_sample, n=5)
      self.assertTrue(5 == len(x))
  
      transformation_results = [
          "昂嗯昂脌您能嫩黄换",
          "昂嗯盎拰您能嫩黄换",
          "昂嗯昂拰您能嫩黄换",
          "昂嗯昂您您能嫩黄换",
          "昂嗯昂恁您能嫩黄换",
      ]
      for index, _sample in enumerate(x):
          self.assertTrue(
              transformation_results[index] == _sample.x.text
          )
  
      special_sample = UTCnSample({"x": "", "y": "negative"})
      self.assertEqual([], trans_method.transform(special_sample))
      special_sample = UTCnSample(
          {"x": "~!@#$%^7890\"'", "y": "negative"}
      )
      self.assertEqual([], trans_method.transform(special_sample))
  
imports: import unittest
  from textflint.input.component.sample import UTCnSample
  from textflint.generation.transformation.UTCN import CnNasal
label_desc: Use image node_id 1 for calling the TestCnSwapSynWordEmbedding obj's underlying member method code with example usage: obj.test_transformation() without return types