Exemplo n.º 1
0
 def test_canonical_decomposition(self):
     """Tests the canonical_decomposition() method."""
     self.assertEqual('', unicode_data.canonical_decomposition(0x0627))
     self.assertEqual(u'\u064A\u0654',
                      unicode_data.canonical_decomposition(0x0626))
     self.assertEqual(u'\U000226D4',
                      unicode_data.canonical_decomposition(0x2F8A4))
Exemplo n.º 2
0
 def test_canonical_decomposition(self):
     """Tests the canonical_decomposition() method."""
     self.assertEqual('', unicode_data.canonical_decomposition(0x0627))
     self.assertEqual(u'\u064A\u0654',
                      unicode_data.canonical_decomposition(0x0626))
     self.assertEqual(u'\U000226D4',
                      unicode_data.canonical_decomposition(0x2F8A4))