示例#1
0
 def test_combining_width(self):
     assert_equal(get_console_length(self.nfd), 3)
示例#2
0
 def test_east_asian_width(self):
     assert_equal(get_console_length(self.len16_asian), 16)
示例#3
0
 def test_console_width(self):
     assert_equal(get_console_length(self.ten_normal), 10)
示例#4
0
 def test_combining_width(self):
     assert_equal(get_console_length(self.nfd), 3)
示例#5
0
 def test_east_asian_width(self):
     assert_equal(get_console_length(self.len16_asian), 16)
示例#6
0
 def test_console_width(self):
     assert_equal(get_console_length(self.ten_normal), 10)