def testPartialAlign(self):
     grove = []
     tree = etree.fromstring(self.xmlcode[0])
     BasicFeatureExtraction.extractBasicStats(tree)
     grove.append(tree)
     tree = etree.fromstring(self.xmlcode[1])
     BasicFeatureExtraction.extractBasicStats(tree)
     grove.append(tree)
     tree = etree.fromstring(self.xmlcode[2])
     BasicFeatureExtraction.extractBasicStats(tree)
     grove.append(tree)
     pattern,dataTable = PartialTreeAlignment.partialAlign(grove)
     print(etree.tostring(pattern,encoding='unicode'))
     print(dataTable)