ICU-4092 Improve code coverage.

X-SVN-Rev: 16977
This commit is contained in:
George Rhoten 2004-12-21 01:39:14 +00:00
parent 1036574f5b
commit 6d6e37483d

View file

@ -257,6 +257,9 @@ TestInvariant() {
if(!uprv_isInvariantUString(invariantUChars, -1)) {
log_err("uprv_isInvariantUString(invariantUChars) failed\n");
}
if(!uprv_isInvariantString(invariantChars+strlen(invariantChars), 1)) {
log_err("uprv_isInvariantString(\"\\0\") failed\n");
}
for(i=0; i<(sizeof(variantChars)-1); ++i) {
if(uprv_isInvariantString(variantChars+i, 1)) {