code: def test_sens2doc(self):
      for sample in samples:
          sens = sample.dump()["sentences"]
          doc, sen_map = CorefSample.sens2doc(sens)
          self.assertEqual(doc, sample.x.words)
          self.assertEqual(sen_map, sample.sen_map)
          sens1 = CorefSample.doc2sens(doc, sen_map)
          self.assertEqual(sens1, sens)
  
file_path: textflint/test/input/component/sample/test_coref_sample.py
imports: from textflint.input.component.sample.coref_sample import *
  import unittest
  import random
  from test.data.coref_debug import CorefDebug
label_desc: Use image node_id 1 for calling the TestCorefSample obj's underlying member method code with example usage: obj.test_sens2doc() without return types