Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / libgo / go / exp / norm / triedata_test.go
index 7f62760..d6c832d 100644 (file)
@@ -4,7 +4,7 @@
 
 package norm
 
-var testRunes = []rune{1, 12, 127, 128, 256, 2047, 2048, 2457, 65535, 65536, 65793, 1114111, 512, 513, 514, 528, 533}
+var testRunes = []int32{1, 12, 127, 128, 256, 2047, 2048, 2457, 65535, 65536, 65793, 1114111, 512, 513, 514, 528, 533}
 
 // testdataValues: 192 entries, 384 bytes
 // Block 2 is the null block.
@@ -62,24 +62,24 @@ var testdataLookup = [640]uint8{
        // Block 0x1, offset 0x40
        // Block 0x2, offset 0x80
        // Block 0x3, offset 0xc0
-       0x0c2: 0x03, 0x0c4: 0x04,
-       0x0c8: 0x05,
-       0x0df: 0x06,
-       0x0e0: 0x04,
-       0x0ef: 0x05,
-       0x0f0: 0x07, 0x0f4: 0x09,
+       0x0c2: 0x01, 0x0c4: 0x02,
+       0x0c8: 0x03,
+       0x0df: 0x04,
+       0x0e0: 0x02,
+       0x0ef: 0x03,
+       0x0f0: 0x05, 0x0f4: 0x07,
        // Block 0x4, offset 0x100
-       0x120: 0x07, 0x126: 0x08,
+       0x120: 0x05, 0x126: 0x06,
        // Block 0x5, offset 0x140
-       0x17f: 0x09,
+       0x17f: 0x07,
        // Block 0x6, offset 0x180
-       0x180: 0x0a, 0x184: 0x0b,
+       0x180: 0x08, 0x184: 0x09,
        // Block 0x7, offset 0x1c0
-       0x1d0: 0x06,
+       0x1d0: 0x04,
        // Block 0x8, offset 0x200
-       0x23f: 0x0c,
+       0x23f: 0x0a,
        // Block 0x9, offset 0x240
-       0x24f: 0x08,
+       0x24f: 0x06,
 }
 
-var testdataTrie = trie{testdataLookup[:], testdataValues[:], testdataSparseValues[:], testdataSparseOffset[:], 3}
+var testdataTrie = trie{testdataLookup[:], testdataValues[:], testdataSparseValues[:], testdataSparseOffset[:], 1}