Home
last modified time | relevance | path

Searched refs:expect2 (Results 1 – 15 of 15) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java604 expect2(df, 1.23, "\u00A41.23"); in TestMismatchedCurrencyFormatFail()
606 expect2(df, 1.23, "\u20AC1.23"); in TestMismatchedCurrencyFormatFail()
1175 expect2(fmt1, n, "1.234E3"); in TestExponent()
1176 expect2(fmt2, n, "1.234E+3"); in TestExponent()
1227 expect2(new DecimalFormat("#E0", US), 12345.0, "1.2345E4"); in TestScientific()
1234 expect2(NumberFormat.getScientificInstance(Locale.US), 12345.678901, "1.2345678901E4"); in TestScientific()
1236 expect2(NumberFormat.getScientificInstance(ULocale.US), 12345.678901, "1.2345678901E4"); in TestScientific()
1240 expect2(new DecimalFormat("##0.####E0", US), 12345, "12.345E3"); in TestScientific()
1244 expect2(NumberFormat.getScientificInstance(Locale.FRANCE), 12345.678901, "1,2345678901E4"); in TestScientific()
1246 expect2(NumberFormat.getScientificInstance(ULocale.FRANCE), 12345.678901, "1,2345678901E4"); in TestScientific()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java601 expect2(df, 1.23, "\u00A41.23"); in TestMismatchedCurrencyFormatFail()
603 expect2(df, 1.23, "\u20AC1.23"); in TestMismatchedCurrencyFormatFail()
1172 expect2(fmt1, n, "1.234E3"); in TestExponent()
1173 expect2(fmt2, n, "1.234E+3"); in TestExponent()
1224 expect2(new DecimalFormat("#E0", US), 12345.0, "1.2345E4"); in TestScientific()
1231 expect2(NumberFormat.getScientificInstance(Locale.US), 12345.678901, "1.2345678901E4"); in TestScientific()
1233 expect2(NumberFormat.getScientificInstance(ULocale.US), 12345.678901, "1.2345678901E4"); in TestScientific()
1237 expect2(new DecimalFormat("##0.####E0", US), 12345, "12.345E3"); in TestScientific()
1241 expect2(NumberFormat.getScientificInstance(Locale.FRANCE), 12345.678901, "1,2345678901E4"); in TestScientific()
1243 expect2(NumberFormat.getScientificInstance(ULocale.FRANCE), 12345.678901, "1,2345678901E4"); in TestScientific()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.h300 void expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str);
304 void expect2(NumberFormat& fmt, const Formattable& n, const char* str) { in expect2() function
305 expect2(fmt, n, UnicodeString(str, "")); in expect2()
308 void expect2(NumberFormat* fmt, const Formattable& n, const UnicodeString& str, UErrorCode ec);
310 void expect2(NumberFormat* fmt, const Formattable& n, const char* str, UErrorCode ec) { in expect2() function
311 expect2(fmt, n, UnicodeString(str, ""), ec); in expect2()
Dnumfmtst.cpp1314 expect2(f, (int32_t)123456789L, "12,34,56,789"); in TestSecondaryGrouping()
1320 expect2(f, (int32_t)123456789L, "12,3456,789"); in TestSecondaryGrouping()
1426 expect2(fmt1, n, "1.234E3"); in TestExponent()
1427 expect2(fmt2, n, "1.234E+3"); in TestExponent()
1491 expect2(NumberFormat::createScientificInstance(status), in TestScientific()
1496 expect2(new DecimalFormat("#E0", US, status), in TestScientific()
1502 expect2(NumberFormat::createScientificInstance(Locale::getUS(), status), in TestScientific()
1511 expect2(new DecimalFormat("##0.####E0", US, status), in TestScientific()
1514 expect2(NumberFormat::createScientificInstance(Locale::getFrance(), status), in TestScientific()
1520 expect2(new DecimalFormat("##0.####E0", US, status), in TestScientific()
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dqos_dscp_router.sh181 local expect2=0
185 expect2=10
192 ((expect2 == delta))
193 check_err $? "DSCP $dscpi@$dev2: Expected to capture $expect2 packets, got $delta."
/external/webrtc/webrtc/base/
Dversionparsing_unittest.cc28 static const ExampleVersion expect2 = {2, 0, 0, 1}; in TEST() local
30 EXPECT_EQ(0, CompareVersions(ver, expect2, kExampleSegments)); in TEST()
/external/linux-kselftest/tools/testing/selftests/rseq/
Drseq-ppc.h461 intptr_t *v2, intptr_t expect2, in rseq_cmpeqv_cmpeqv_storev() argument
477 RSEQ_ASM_OP_CMPEQ(v2, expect2, %l[cmpfail]) in rseq_cmpeqv_cmpeqv_storev()
485 RSEQ_ASM_OP_CMPEQ(v2, expect2, %l[error3]) in rseq_cmpeqv_cmpeqv_storev()
497 [expect2] "r" (expect2), in rseq_cmpeqv_cmpeqv_storev()
Drseq-arm64.h429 intptr_t *v2, intptr_t expect2, in rseq_cmpeqv_cmpeqv_storev() argument
441 RSEQ_ASM_OP_CMPEQ(v2, expect2, %l[cmpfail]) in rseq_cmpeqv_cmpeqv_storev()
446 RSEQ_ASM_OP_CMPEQ(v2, expect2, %l[error3]) in rseq_cmpeqv_cmpeqv_storev()
458 [expect2] "r" (expect2), in rseq_cmpeqv_cmpeqv_storev()
Drseq-x86.h310 intptr_t *v2, intptr_t expect2, in rseq_cmpeqv_cmpeqv_storev() argument
345 [expect2] "r" (expect2), in rseq_cmpeqv_cmpeqv_storev()
849 intptr_t *v2, intptr_t expect2, in rseq_cmpeqv_cmpeqv_storev() argument
885 [expect2] "r" (expect2), in rseq_cmpeqv_cmpeqv_storev()
Drseq-s390.h335 intptr_t *v2, intptr_t expect2, in rseq_cmpeqv_cmpeqv_storev() argument
370 [expect2] "r" (expect2), in rseq_cmpeqv_cmpeqv_storev()
Drseq-arm.h403 intptr_t *v2, intptr_t expect2, in rseq_cmpeqv_cmpeqv_storev() argument
445 [expect2] "r" (expect2), in rseq_cmpeqv_cmpeqv_storev()
Drseq-skip.h45 intptr_t *v2, intptr_t expect2, in rseq_cmpeqv_cmpeqv_storev() argument
Drseq-mips.h422 intptr_t *v2, intptr_t expect2, in rseq_cmpeqv_cmpeqv_storev() argument
460 [expect2] "r" (expect2), in rseq_cmpeqv_cmpeqv_storev()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_fanout.c359 const int expect1[], const int expect2[]) in test_datapath() argument
394 ret |= sock_fanout_read(fds, rings, expect2); in test_datapath()
/external/tensorflow/tensorflow/compiler/tests/
Dstateful_random_ops_test.py92 def verify(counter1, counter2, key1, key2, expect1, expect2): argument
98 expect = [expect1, expect2]