X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libgo%2Fgo%2Fexp%2Fnorm%2Ftriedata_test.go;h=d6c832d46a1435dc3f3c8a74f8bb30f865cd2267;hb=4d8cd3a26294ce35abb17668eac2b6c38dd23bd0;hp=7f6276096c56e0ed6b97ab900db4bc97c4279edd;hpb=c944d49b3bd3667c65c299afd3b1d756084203f4;p=platform%2Fupstream%2Fgcc48.git diff --git a/libgo/go/exp/norm/triedata_test.go b/libgo/go/exp/norm/triedata_test.go index 7f62760..d6c832d 100644 --- a/libgo/go/exp/norm/triedata_test.go +++ b/libgo/go/exp/norm/triedata_test.go @@ -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}