Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(730)

Delta Between Two Patch Sets: src/pkg/exp/locale/collate/colelem_test.go

Issue 6160044: code review 6160044: exp/locale/collate: from the regression test we derive ... (Closed)
Left Patch Set: Created 12 years, 10 months ago
Right Patch Set: diff -r a0eefa4e3d01 https://go.googlecode.com/hg Created 12 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/exp/locale/collate/colelem.go ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2012 The Go Authors. All rights reserved. 1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package collate 5 package collate
6 6
7 import ( 7 import (
8 "testing" 8 "testing"
9 "unicode" 9 "unicode"
10 ) 10 )
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 {0x33FF, 0x52F3F}, 134 {0x33FF, 0x52F3F},
135 {0x3400, 0x22F40}, 135 {0x3400, 0x22F40},
136 {0x4DC0, 0x54900}, 136 {0x4DC0, 0x54900},
137 {0x4DFF, 0x5493F}, 137 {0x4DFF, 0x5493F},
138 {0x4E00, 0x14940}, 138 {0x4E00, 0x14940},
139 {0x9FCB, 0x19B0B}, 139 {0x9FCB, 0x19B0B},
140 {0xA000, 0x59B40}, 140 {0xA000, 0x59B40},
141 {0xF8FF, 0x5F43F}, 141 {0xF8FF, 0x5F43F},
142 {0xF900, 0x1F440}, 142 {0xF900, 0x1F440},
143 {0xFA23, 0x1F563}, 143 {0xFA23, 0x1F563},
144 » {0xFAFF, 0x1F63F}, 144 » {0xFAD9, 0x1F619},
145 {0xFB00, 0x5F640}, 145 {0xFB00, 0x5F640},
146 {0x20000, 0x3FB40}, 146 {0x20000, 0x3FB40},
147 {0x2B81C, 0x4B35C}, 147 {0x2B81C, 0x4B35C},
148 {unicode.MaxRune, 0x15FB3F}, // maximum primary value 148 {unicode.MaxRune, 0x15FB3F}, // maximum primary value
149 } 149 }
150 150
151 func TestImplicit(t *testing.T) { 151 func TestImplicit(t *testing.T) {
152 for _, tt := range implicitTests { 152 for _, tt := range implicitTests {
153 if p := implicitPrimary(tt.r); p != tt.p { 153 if p := implicitPrimary(tt.r); p != tt.p {
154 t.Errorf("%U: was %X; want %X", tt.r, p, tt.p) 154 t.Errorf("%U: was %X; want %X", tt.r, p, tt.p)
155 } 155 }
156 } 156 }
157 } 157 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b