def ignore_nfd_tus12(self): text = u'\u0061\u0315\u0300\u05AE\U0001E136\u0062' self.assertEqual(u'\u0061\u05AE\u0300\U0001E136\u0315\u0062', tf.normalize('NFD', text))
def ignore_nfc_tus11(self): text = u'\u0061\u0315\u0300\u05AE\u09FE\u0062' self.assertEqual(u'\u00E0\u05AE\u09FE\u0315\u0062', tf.normalize('NFC', text))
def test_nfd_tus1(self): text = u'\u00e9' self.assertEqual(u'e\u0301', tf.normalize('NFD', text))
def ignore_nfd_tus10(self): text = u'\u0061\u035C\u0315\u0300\u1DF6\u0062' self.assertEqual(u'\u0061\u0300\u0315\u1DF6\u035C\u0062', tf.normalize('NFD', text))
def ignore_nfd_tus13(self): text = u'\u0061\u3099\u093C\U00016FF0\u09BC\u0062' self.assertEqual(u'\u0061\U00016FF0\u093C\u09BC\u3099\u0062', tf.normalize('NFD', text))