~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/unicode/script_test.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-08-20 14:06:23 UTC
  • mfrom: (14.1.23 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130820140623-b414jfxi3m0qkmrq
Tags: 2:1.1.2-2ubuntu1
* Merge from Debian unstable (LP: #1211749, #1202027). Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - d/control,control.cross: Update Breaks/Replaces for Ubuntu
    versions to ensure smooth upgrades, regenerate control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
        script string
15
15
}
16
16
 
17
 
// Hand-chosen tests from Unicode 5.1.0 & 6.0..0, mostly to discover when new
 
17
// Hand-chosen tests from Unicode 5.1.0, 6.0.0 and 6.2.0 mostly to discover when new
18
18
// scripts and categories arise.
19
19
var inTest = []T{
20
20
        {0x06e2, "Arabic"},
31
31
        {0x11011, "Brahmi"},
32
32
        {0x156d, "Canadian_Aboriginal"},
33
33
        {0x102a9, "Carian"},
 
34
        {0x11111, "Chakma"},
34
35
        {0xaa4d, "Cham"},
35
36
        {0x13c2, "Cherokee"},
36
37
        {0x0020, "Common"},
76
77
        {0x0d42, "Malayalam"},
77
78
        {0x0843, "Mandaic"},
78
79
        {0xabd0, "Meetei_Mayek"},
 
80
        {0x1099f, "Meroitic_Hieroglyphs"},
 
81
        {0x109a0, "Meroitic_Cursive"},
 
82
        {0x16f00, "Miao"},
79
83
        {0x1822, "Mongolian"},
80
84
        {0x104c, "Myanmar"},
81
85
        {0x19c3, "New_Tai_Lue"},
94
98
        {0x16c0, "Runic"},
95
99
        {0x081d, "Samaritan"},
96
100
        {0xa892, "Saurashtra"},
 
101
        {0x111a0, "Sharada"},
97
102
        {0x10463, "Shavian"},
98
103
        {0x0dbd, "Sinhala"},
 
104
        {0x110d0, "Sora_Sompeng"},
99
105
        {0x1ba3, "Sundanese"},
100
106
        {0xa803, "Syloti_Nagri"},
101
107
        {0x070f, "Syriac"},
104
110
        {0x1972, "Tai_Le"},
105
111
        {0x1a62, "Tai_Tham"},
106
112
        {0xaadc, "Tai_Viet"},
 
113
        {0x116c9, "Takri"},
107
114
        {0x0bbf, "Tamil"},
108
115
        {0x0c55, "Telugu"},
109
116
        {0x07a7, "Thaana"},
121
128
 
122
129
var inCategoryTest = []T{
123
130
        {0x0081, "Cc"},
124
 
        {0x17b4, "Cf"},
 
131
        {0x200B, "Cf"},
125
132
        {0xf0000, "Co"},
126
133
        {0xdb80, "Cs"},
127
134
        {0x0236, "Ll"},