Home
last modified time | relevance | path

Searched refs:nsb1 (Results 1 – 5 of 5) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DMutablePatternModifierTest.java94 FormattedStringBuilder nsb1 = new FormattedStringBuilder(); in mutableEqualsImmutable() local
98 micros1.modMiddle.apply(nsb1, 0, 0); in mutableEqualsImmutable()
112 assertTrue(nsb1 + " vs. " + nsb2, nsb1.contentEquals(nsb2)); in mutableEqualsImmutable()
113 assertFalse(nsb1 + " vs. " + nsb3, nsb1.contentEquals(nsb3)); in mutableEqualsImmutable()
DDecimalQuantityTest.java247 FormattedStringBuilder nsb1 = new FormattedStringBuilder(); in testDecimalQuantityWithFormats() local
249 format.formatImpl(q0, nsb1); in testDecimalQuantityWithFormats()
251 String s1 = nsb1.toString(); in testDecimalQuantityWithFormats()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DMutablePatternModifierTest.java96 FormattedStringBuilder nsb1 = new FormattedStringBuilder(); in mutableEqualsImmutable() local
100 micros1.modMiddle.apply(nsb1, 0, 0); in mutableEqualsImmutable()
114 assertTrue(nsb1 + " vs. " + nsb2, nsb1.contentEquals(nsb2)); in mutableEqualsImmutable()
115 assertFalse(nsb1 + " vs. " + nsb3, nsb1.contentEquals(nsb3)); in mutableEqualsImmutable()
DDecimalQuantityTest.java244 FormattedStringBuilder nsb1 = new FormattedStringBuilder(); in testDecimalQuantityWithFormats() local
246 format.formatImpl(q0, nsb1); in testDecimalQuantityWithFormats()
248 String s1 = nsb1.toString(); in testDecimalQuantityWithFormats()
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_patternmodifier.cpp172 FormattedStringBuilder nsb1; in testMutableEqualsImmutable() local
176 micros1.modMiddle->apply(nsb1, 0, 0, status); in testMutableEqualsImmutable()
194 assertTrue(nsb1.toUnicodeString() + " vs " + nsb2.toUnicodeString(), nsb1.contentEquals(nsb2)); in testMutableEqualsImmutable()
195 assertFalse(nsb1.toUnicodeString() + " vs " + nsb3.toUnicodeString(), nsb1.contentEquals(nsb3)); in testMutableEqualsImmutable()