Searched refs:myNumber (Results 1 – 6 of 6) sorted by relevance
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 327 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { in checkNBSPPatternRtNum() argument 328 String myString = nf.format(myNumber); in checkNBSPPatternRtNum() 338 if(Math.abs(aNumber-myNumber)>.001) { in checkNBSPPatternRtNum() 339 errln("FAIL: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum() 341 logln("PASS: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
|
D | TestMessageFormat.java | 53 double myNumber = -123456; in TestBug3() local 118 form.format(myNumber, buffer, pos); in TestBug3()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 330 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { in checkNBSPPatternRtNum() argument 331 String myString = nf.format(myNumber); in checkNBSPPatternRtNum() 341 if(Math.abs(aNumber-myNumber)>.001) { in checkNBSPPatternRtNum() 342 errln("FAIL: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum() 344 logln("PASS: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
|
D | TestMessageFormat.java | 56 double myNumber = -123456; in TestBug3() local 121 form.format(myNumber, buffer, pos); in TestBug3()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 1976 static void TestNBSPPatternRtNum(const char *testcase, int line, UNumberFormat *nf, double myNumber… in TestNBSPPatternRtNum() argument 1981 unum_formatDouble(nf, myNumber, myString, 20, NULL, &status); in TestNBSPPatternRtNum() 1982 …log_verbose("%s:%d: formatted %.2f into %s\n", testcase, line, myNumber, u_austrcpy(tmpbuf, myStri… in TestNBSPPatternRtNum() 1984 … log_err("%s:%d: failed format of %.2g with %s\n", testcase, line, myNumber, u_errorName(status)); in TestNBSPPatternRtNum() 1992 if(uprv_fabs(aNumber-myNumber)>.001) { in TestNBSPPatternRtNum() 1993 log_err("FAIL: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber); in TestNBSPPatternRtNum() 1995 … log_verbose("PASS: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber); in TestNBSPPatternRtNum()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tmsgfmt.cpp | 83 double myNumber = -123456; in testBug3() local 151 form->format(myNumber, buffer, pos); in testBug3()
|