ICU-96 Changed constants in tests

X-SVN-Rev: 4540
This commit is contained in:
Vladimir Weinstein 2001-04-24 05:16:04 +00:00
parent c46917cfb0
commit aeeb9d1600

View File

@ -1097,7 +1097,7 @@ static void testCEs(UCollator *coll, UErrorCode *status) {
if(strength == UCOL_TOK_RESET) {
if(top_ == TRUE) {
nextCE = baseCE = currCE = 0x9FFF0000;
nextCE = baseCE = currCE = UCOL_RESET_TOP_VALUE;
nextContCE = baseContCE = currContCE = 0;
} else {
nextCE = baseCE = currCE;
@ -1107,9 +1107,9 @@ static void testCEs(UCollator *coll, UErrorCode *status) {
} else {
if(strength < maxStrength) {
maxStrength = strength;
if(baseCE == 0x9FFF0000) {
if(baseCE == UCOL_RESET_TOP_VALUE) {
log_verbose("Resetting to [top]\n");
nextCE = 0xD0000000;
nextCE = UCOL_NEXT_TOP_VALUE;
nextContCE = 0;
} else {
result = ucol_inv_getNextCE(baseCE, baseContCE, &nextCE, &nextContCE, maxStrength);