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