Searched refs:expectedNumber (Results 1 – 6 of 6) sorted by relevance
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | RbnfLenientScannerTest.java | 212 String expectedNumber = testData[i][1]; in doLenientParseTest() local 215 if (!actualNumber.equals(expectedNumber)) { in doLenientParseTest() 217 + words + ", expected " + expectedNumber in doLenientParseTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | RbnfLenientScannerTest.java | 215 String expectedNumber = testData[i][1]; in doLenientParseTest() local 218 if (!actualNumber.equals(expectedNumber)) { in doLenientParseTest() 220 + words + ", expected " + expectedNumber in doLenientParseTest()
|
D | NumberFormatDataDrivenTest.java | 108 BigDecimal expectedNumber = new BigDecimal(expected); in compareParseCurrencyResult() local 109 if (expectedNumber.compareTo(new BigDecimal(actual.getNumber().toString())) != 0) { in compareParseCurrencyResult() 110 return "Wrong number: Expected: " + expectedNumber + ", got: " + actual; in compareParseCurrencyResult()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | itrbnf.cpp | 2374 Formattable expectedNumber; in doTest() local 2376 decFmt.parse(escapedNumString, expectedNumber, status); in doTest() 2383 formatter->format(expectedNumber, actualString/* , pos*/, status); in doTest() 2386 decFmt.format(expectedNumber, msg, status); in doTest() 2393 decFmt.format(expectedNumber, msg, status); in doTest() 2413 if (parsedNumber != expectedNumber in doTest() 2414 … && (!uprv_isNaN(parsedNumber.getDouble()) || !uprv_isNaN(expectedNumber.getDouble()))) in doTest() 2419 decFmt.format(expectedNumber, msg, status); in doTest() 2460 Formattable expectedNumber; in doLenientParseTest() local 2461 decFmt->parse(asciiUSNumberString, expectedNumber, status); in doLenientParseTest() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RbnfTest.java | 1284 Number expectedNumber = decFmt.parse(testData[i][1]); in doParsingTest() local 1286 logln("test[" + i + "] spellout value: (" + s + ") target: " + expectedNumber); in doParsingTest() 1294 if (expectedNumber.doubleValue() != num.doubleValue()) { in doParsingTest() 1295 … errln("\nParsing (" + s + ") failed: got " + num + " expected " + expectedNumber); in doParsingTest()
|
D | NumberFormatDataDrivenTest.java | 105 BigDecimal expectedNumber = new BigDecimal(expected); in compareParseCurrencyResult() local 106 if (expectedNumber.compareTo(new BigDecimal(actual.getNumber().toString())) != 0) { in compareParseCurrencyResult() 107 return "Wrong number: Expected: " + expectedNumber + ", got: " + actual; in compareParseCurrencyResult()
|