ICU-5410 Add a test to improve code coverage.

X-SVN-Rev: 20515
This commit is contained in:
George Rhoten 2006-10-07 00:04:44 +00:00
parent da43b8e081
commit 98522b5ddd

View File

@ -71,6 +71,12 @@ public class IntlTestDecimalFormatSymbols extends com.ibm.icu.dev.test.TestFmwk
errln("ERROR: get/set DecimalSeparator failed");
}
char monetaryGroup = en.getMonetaryGroupingSeparator();
fr.setMonetaryGroupingSeparator(monetaryGroup);
if(fr.getMonetaryGroupingSeparator() != en.getMonetaryGroupingSeparator()) {
errln("ERROR: get/set MonetaryGroupingSeparator failed");
}
char monetaryDecimal = en.getMonetaryDecimalSeparator();
fr.setMonetaryDecimalSeparator(monetaryDecimal);
if(fr.getMonetaryDecimalSeparator() != en.getMonetaryDecimalSeparator()) {