Exemple #1
0
 def test_nameLowSurrogate(self):
     self.assertEqual("(Low Surrogate)",
                      unidump.name_format(self.options, "\uDC00"))
Exemple #2
0
 def test_nameHighSurrogate(self):
     self.assertEqual("(High Surrogate)",
                      unidump.name_format(self.options, "\uD800"))
Exemple #3
0
 def test_nameHighPrivateUseSurrogate(self):
     self.assertEqual("(High Private Use Surrogate)",
                      unidump.name_format(self.options, "\uDB80"))
Exemple #4
0
 def test_nameBOM(self):
     self.assertEqual("ZERO WIDTH NO-BREAK SPACE",
                      unidump.name_format(self.options, "\uFEFF"))
Exemple #5
0
 def test_namePlane1(self):
     self.assertEqual("MATHEMATICAL FRAKTUR CAPITAL M",
                      unidump.name_format(self.options, "\U0001D510"))
Exemple #6
0
 def test_nameChineseGlast(self):
     self.assertEqual("CJK Unified Ideograph Ext G-3134A",
                      unidump.name_format(self.options, "\U0003134A"))
Exemple #7
0
 def test_namePUA(self):
     self.assertEqual("BRANCH PUA-E000",
                      unidump.name_format(self.options, "\uE000"))
Exemple #8
0
 def test_nameChineseBlast(self):
     self.assertEqual("CJK Unified Ideograph Ext B-2A6DD",
                      unidump.name_format(self.options, "\U0002A6DD"))
Exemple #9
0
 def test_nameChineseE(self):
     self.assertEqual("CJK Unified Ideograph Ext E-2CA62",
                      unidump.name_format(self.options, "\U0002CA62"))
Exemple #10
0
 def test_nameChineseUROlast(self):
     self.assertEqual("CJK Unified Ideograph-9FFC",
                      unidump.name_format(self.options, "\u9FFC"))
Exemple #11
0
 def test_nameChineseURO(self):
     self.assertEqual("CJK Unified Ideograph-6606",
                      unidump.name_format(self.options, "\u6606"))
Exemple #12
0
 def test_nameChineseAlast(self):
     self.assertEqual("CJK Unified Ideograph Ext A-4DBF",
                      unidump.name_format(self.options, "\u4DBF"))
Exemple #13
0
 def test_nameLatin1(self):
     self.assertEqual("LATIN SMALL LETTER N WITH TILDE",
                      unidump.name_format(self.options, "\u00F1"))
Exemple #14
0
 def test_nameControl(self):
     self.assertEqual("(LINE FEED (LF))",
                      unidump.name_format(self.options, "\u000A"))