ICU-1835 improve code coverage and test new mappings
X-SVN-Rev: 8373
This commit is contained in:
parent
8fa4e9107b
commit
61ab9f8546
@ -2591,7 +2591,7 @@ TestISCII(){
|
||||
0x095F,0x0930,0x0931,0x0932,0x0933,0x0934,0x0935,0x0936,0x0937,
|
||||
0x0938,0x0939,0x200D,0x093E,0x093F,0x0940,0x0941,0x0942,0x0943,
|
||||
0x0946,0x0947,0x0948,0x0945,0x094A,0x094B,0x094C,0x0949,0x094D,
|
||||
0x0964,0x093C,0x0966,0x0967,0x0968,0x0969,0x096A,0x096B,0x096C,
|
||||
0x093d,0x0966,0x0967,0x0968,0x0969,0x096A,0x096B,0x096C,
|
||||
0x096D,0x096E,0x096F,
|
||||
/* test Soft halant*/
|
||||
0x0915,0x094d, 0x200D,
|
||||
@ -2616,9 +2616,29 @@ TestISCII(){
|
||||
0x0C85, 0xC82, 0x0C83,
|
||||
/* test Abbr sign and Anudatta */
|
||||
0x0970, 0x952,
|
||||
|
||||
|
||||
|
||||
/* 0x0958,
|
||||
0x0959,
|
||||
0x095A,
|
||||
0x095B,
|
||||
0x095C,
|
||||
0x095D,
|
||||
0x095E,
|
||||
0x095F,*/
|
||||
0x0960 /* Vocallic RRI 0xAB, 0xE9*/,
|
||||
0x0944 /* Vowel Sign Vocallic RRI 0xDF, 0xE9 */,
|
||||
0x090C ,
|
||||
0x0962,
|
||||
0x0961 /* Vocallic LL 0xa6, 0xE9 */,
|
||||
0x0963 /* Vowel Sign Vocallic LL 0xdb, 0xE9, */,
|
||||
0x0950 /* OM Symbol 0xa1, 0xE9,*/,
|
||||
0x093D /* Avagraha 0xEA, 0xE9*/,
|
||||
0x0958,
|
||||
0x0959,
|
||||
0x095A,
|
||||
0x095B,
|
||||
0x095C,
|
||||
0x095D,
|
||||
0x095E,
|
||||
|
||||
};
|
||||
static const unsigned char byteArr[]={
|
||||
@ -2657,7 +2677,39 @@ TestISCII(){
|
||||
/* kannada range */
|
||||
0xEF, 0x48,0xa4, 0xa2, 0xa3,
|
||||
/* anudatta and abbreviation sign */
|
||||
0xEF, 0x42, 0xF0, 0xBF, 0xF0, 0xB8
|
||||
0xEF, 0x42, 0xF0, 0xBF, 0xF0, 0xB8,
|
||||
|
||||
|
||||
0xAA, 0xE9,/* RI + NUKTA 0x0960*/
|
||||
|
||||
0xDF, 0xE9,/* Vowel sign RI + NUKTA 0x0944*/
|
||||
|
||||
0xa6, 0xE9,/* Vowel I + NUKTA 0x090C*/
|
||||
|
||||
0xdb, 0xE9,/* Vowel sign I + Nukta 0x0962*/
|
||||
|
||||
0xa7, 0xE9,/* Vowel II + NUKTA 0x0961*/
|
||||
|
||||
0xdc, 0xE9,/* Vowel sign II + Nukta 0x0963*/
|
||||
|
||||
0xa1, 0xE9,/* chandrabindu + Nukta 0x0950*/
|
||||
|
||||
0xEA, 0xE9, /* Danda + Nukta 0x093D*/
|
||||
|
||||
0xB3, 0xE9, /* Ka + NUKTA */
|
||||
|
||||
0xB4, 0xE9, /* Kha + NUKTA */
|
||||
|
||||
0xB5, 0xE9, /* Ga + NUKTA */
|
||||
|
||||
0xBA, 0xE9,
|
||||
|
||||
0xBF, 0xE9,
|
||||
|
||||
0xC0, 0xE9,
|
||||
|
||||
0xC9, 0xE9,
|
||||
|
||||
};
|
||||
|
||||
TestConv(in,(sizeof(in)/2),"ISCII,version=0","hindi", (char *)byteArr,sizeof(byteArr));
|
||||
|
Loading…
Reference in New Issue
Block a user