Home
last modified time | relevance | path

Searched refs:newRoundingMode (Results 1 - 3 of 3) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
H A Dnumfmtst.cpp9246 static const NumberFormat::ERoundingMode newRoundingMode = NumberFormat::ERoundingMode::kRoundCeiling; in Test11645_ApplyPatternEquality() local
9248 assertFalse("Value before setter", fmtCopy->getRoundingMode() == newRoundingMode); in Test11645_ApplyPatternEquality()
9249 fmtCopy->setRoundingMode(newRoundingMode); in Test11645_ApplyPatternEquality()
9250 assertEquals("Value after setter", fmtCopy->getRoundingMode(), newRoundingMode); in Test11645_ApplyPatternEquality()
9252 assertEquals("Value after applyPattern", fmtCopy->getRoundingMode(), newRoundingMode); in Test11645_ApplyPatternEquality()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DNumberFormatTest.java5376 final int newRoundingMode = RoundingMode.CEILING.ordinal(); in Test11645()
5378 assertNotEquals("Value before setter", fmtCopy.getRoundingMode(), newRoundingMode); in Test11645()
5379 fmtCopy.setRoundingMode(newRoundingMode); in Test11645()
5380 assertEquals("Value after setter", fmtCopy.getRoundingMode(), newRoundingMode); in Test11645()
5382 assertEquals("Value after applyPattern", fmtCopy.getRoundingMode(), newRoundingMode); in Test11645()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java5376 final int newRoundingMode = RoundingMode.CEILING.ordinal(); in Test11645()
5378 assertNotEquals("Value before setter", fmtCopy.getRoundingMode(), newRoundingMode); in Test11645()
5379 fmtCopy.setRoundingMode(newRoundingMode); in Test11645()
5380 assertEquals("Value after setter", fmtCopy.getRoundingMode(), newRoundingMode); in Test11645()
5382 assertEquals("Value after applyPattern", fmtCopy.getRoundingMode(), newRoundingMode); in Test11645()

Completed in 35 milliseconds