Searched refs:newRoundingMode (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatTest.java | 5120 final int newRoundingMode = RoundingMode.CEILING.ordinal(); 5122 assertNotEquals("Value before setter", fmtCopy.getRoundingMode(), newRoundingMode); 5123 fmtCopy.setRoundingMode(newRoundingMode); 5124 assertEquals("Value after setter", fmtCopy.getRoundingMode(), newRoundingMode); 5126 assertEquals("Value after applyPattern", fmtCopy.getRoundingMode(), newRoundingMode);
|
/external/icu/icu4c/source/test/intltest/ |
D | numfmtst.cpp | 8872 …static const NumberFormat::ERoundingMode newRoundingMode = NumberFormat::ERoundingMode::kRoundCeil… in Test11645_ApplyPatternEquality() local 8874 assertFalse("Value before setter", fmtCopy->getRoundingMode() == newRoundingMode); in Test11645_ApplyPatternEquality() 8875 fmtCopy->setRoundingMode(newRoundingMode); in Test11645_ApplyPatternEquality() 8876 assertEquals("Value after setter", fmtCopy->getRoundingMode(), newRoundingMode); in Test11645_ApplyPatternEquality() 8878 assertEquals("Value after applyPattern", fmtCopy->getRoundingMode(), newRoundingMode); in Test11645_ApplyPatternEquality()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatTest.java | 5117 final int newRoundingMode = RoundingMode.CEILING.ordinal(); 5119 assertNotEquals("Value before setter", fmtCopy.getRoundingMode(), newRoundingMode); 5120 fmtCopy.setRoundingMode(newRoundingMode); 5121 assertEquals("Value after setter", fmtCopy.getRoundingMode(), newRoundingMode); 5123 assertEquals("Value after applyPattern", fmtCopy.getRoundingMode(), newRoundingMode);
|