Home
last modified time | relevance | path

Searched refs:testDouble (Results 1 – 25 of 57) sorted by relevance

123

/aosp_15_r20/external/icu/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/format/
H A DPluralRulesTest.java83 for (double[] testDouble : new double[][] { in testOverUnderflow()
91 FixedDecimal fd = new FixedDecimal(testDouble[0]); in testOverUnderflow()
92 assertEquals(testDouble[0] + "=doubleValue()", testDouble[0], fd.doubleValue()); in testOverUnderflow()
93 … assertEquals(testDouble[0] + " decimalDigits", (int) testDouble[1], fd.getDecimalDigits()); in testOverUnderflow()
94 …assertEquals(testDouble[0] + " visibleDecimalDigitCount", (int) testDouble[2], fd.getVisibleDecima… in testOverUnderflow()
95 assertEquals(testDouble[0] + " decimalDigitsWithoutTrailingZeros", (int) testDouble[1], in testOverUnderflow()
97 … assertEquals(testDouble[0] + " visibleDecimalDigitCountWithoutTrailingZeros", (int) testDouble[2], in testOverUnderflow()
99 … assertEquals(testDouble[0] + " integerValue", (long) testDouble[3], fd.getIntegerValue()); in testOverUnderflow()
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DPluralRulesTest.java86 for (double[] testDouble : new double[][] { in testOverUnderflow()
94 FixedDecimal fd = new FixedDecimal(testDouble[0]); in testOverUnderflow()
95 assertEquals(testDouble[0] + "=doubleValue()", testDouble[0], fd.doubleValue()); in testOverUnderflow()
96 … assertEquals(testDouble[0] + " decimalDigits", (int) testDouble[1], fd.getDecimalDigits()); in testOverUnderflow()
97 …assertEquals(testDouble[0] + " visibleDecimalDigitCount", (int) testDouble[2], fd.getVisibleDecima… in testOverUnderflow()
98 assertEquals(testDouble[0] + " decimalDigitsWithoutTrailingZeros", (int) testDouble[1], in testOverUnderflow()
100 … assertEquals(testDouble[0] + " visibleDecimalDigitCountWithoutTrailingZeros", (int) testDouble[2], in testOverUnderflow()
102 … assertEquals(testDouble[0] + " integerValue", (long) testDouble[3], fd.getIntegerValue()); in testOverUnderflow()
/aosp_15_r20/external/llvm/test/CodeGen/AArch64/
H A Darm64-2012-06-06-FPToUI.ll9 define void @testDouble(double %d) ssp {
10 ; CHECK-LABEL: testDouble:
57 call void @testDouble(double 1.159198e+01)
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/
H A Ddef_function_test.py1254 def testDouble(self, a): member in DefFunctionTest.test_experimental_get_tracing_count_method.TestClass
1258 obj1.testDouble(constant_op.constant(1))
1259 obj1.testDouble(constant_op.constant(2))
1260 obj1.testDouble(constant_op.constant(1.1))
1261 self.assertAllEqual(obj1.testDouble.experimental_get_tracing_count(), 2)
1263 obj2.testDouble(constant_op.constant(1))
1264 obj2.testDouble(constant_op.constant(1.1))
1265 obj2.testDouble(constant_op.constant('a'))
1266 self.assertAllEqual(obj2.testDouble.experimental_get_tracing_count(), 3)
1267 self.assertAllEqual(obj1.testDouble.experimental_get_tracing_count(), 2)
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/signature/
DBinarySerializerSignedContextualAdsTest.java70 double testDouble = 123.45; in testWriteDouble() local
71 mSerializer.writeDouble(testDouble); in testWriteDouble()
72 assertThat(bytesToString(mSerializer.getBytes())).isEqualTo("" + testDouble); in testWriteDouble()
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
H A DFunctionsTest.java79 static boolean testDouble(final double value) throws SomeException { in testDouble() method in FunctionsTest.FailureOnOddInvocations
228 public void testDouble(final double i) throws Throwable { in testDouble() method in FunctionsTest.Testable
318 …le e = assertThrows(IllegalStateException.class, () -> Functions.accept(testable::testDouble, 1d)); in testAcceptDoubleConsumer()
324 e = assertThrows(OutOfMemoryError.class, () -> Functions.accept(testable::testDouble, 1d)); in testAcceptDoubleConsumer()
330 … e = assertThrows(UncheckedIOException.class, () -> Functions.accept(testable::testDouble, 1d)); in testAcceptDoubleConsumer()
337 Functions.accept(testable::testDouble, 1d); in testAcceptDoubleConsumer()
/aosp_15_r20/cts/tests/tests/content/src/android/content/cts/
H A DIntentTest.java927 final double testDouble = 1d; in testGetIntentOld() local
928 assertEquals(testDouble, mIntent.getDoubleExtra("testdouble", 2d), DELTA_DOUBLE); in testGetIntentOld()
1122 final double testDouble = 1; in testGetIntent() local
1123 mIntent.putExtra(TEST_EXTRA_NAME, testDouble); in testGetIntent()
1126 assertEquals(testDouble, target.getDoubleExtra(TEST_EXTRA_NAME, 2), DELTA_DOUBLE); in testGetIntent()
1193 final double testDouble = 1; in testToURI() local
1194 mIntent.putExtra(TEST_EXTRA_NAME, testDouble); in testToURI()
1195 assertTrue(mIntent.toURI().indexOf(getString("d", TEST_EXTRA_NAME, testDouble)) != -1); in testToURI()
/aosp_15_r20/dalvik/dx/tests/054-dex-high16/
HDBlort.classBlort.java package Blort extends java.lang.Object { public void <init> () ...
H A DBlort.java67 public static void testDouble() { in testDouble() method in Blort
H A Dexpected.txt1 Blort.testDouble:()V:
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/function/
H A DFailableFunctionsTest.java78 static boolean testDouble(final double value) throws SomeException { in testDouble() method in FailableFunctionsTest.FailureOnOddInvocations
238 public void testDouble(final double i) throws Throwable { in testDouble() method in FailableFunctionsTest.Testable
328 …ble e = assertThrows(IllegalStateException.class, () -> Failable.accept(testable::testDouble, 1d)); in testAcceptDoubleConsumer()
333 e = assertThrows(OutOfMemoryError.class, () -> Failable.accept(testable::testDouble, 1d)); in testAcceptDoubleConsumer()
339 … e = assertThrows(UncheckedIOException.class, () -> Failable.accept(testable::testDouble, 1d)); in testAcceptDoubleConsumer()
346 Failable.accept(testable::testDouble, 1d); in testAcceptDoubleConsumer()
811 … final FailableDoublePredicate<Throwable> failablePredicate = FailureOnOddInvocations::testDouble; in testDoublePredicate()
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/hash/
H A DAbstractByteHasherTest.java88 public void testDouble() { in testDouble() method in AbstractByteHasherTest
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/hash/
H A DAbstractByteHasherTest.java88 public void testDouble() { in testDouble() method in AbstractByteHasherTest
/aosp_15_r20/cts/tests/tests/nativemedia/mediametrics/src/
H A DMediaMetricsTest.cpp71 TEST_F(MediaMetricsTest, testDouble) { in TEST_F() argument
/aosp_15_r20/external/kotlinx.serialization/formats/cbor/jvmTest/src/kotlinx/serialization/cbor/
H A DCborCompatibilityTest.kt115 fun testDouble() { in testDouble() method in kotlinx.serialization.cbor.CborCompatibilityTest
/aosp_15_r20/tools/dexter/testdata/expected/
H A Dexit_hooks.asm93 68| invoke-virtual {v6,v7}, Target.testDouble(int):double
126 method Target.testDouble(int):double
H A Dexit_hooks.rewrite93 68| invoke-virtual {v6,v7}, Target.testDouble(int):double
126 method Target.testDouble(int):double
/aosp_15_r20/external/gson/gson/src/test/java/com/google/gson/
H A DToNumberPolicyTest.java32 public void testDouble() throws IOException { in testDouble() method in ToNumberPolicyTest
/aosp_15_r20/external/clang/test/Sema/
H A Dcast.c93 void testDouble(Double v) { in testDouble() function
/aosp_15_r20/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
H A DNumberSerTest.java84 public void testDouble() throws Exception in testDouble() method in NumberSerTest
/aosp_15_r20/external/clang/test/Analysis/
H A DNewDelete-checker-test.cpp312 void testDouble() { in testDouble() function
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/io_ops/
H A Ddecode_csv_op_test.py112 def testDouble(self): member in DecodeCSVOpTest
/aosp_15_r20/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
H A DByteArrayTest.kt122 fun testDouble() { in testDouble() method
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
H A Dargmax_op_test.py116 def testDouble(self): member in ArgMaxTest
/aosp_15_r20/hardware/google/pixel/power-libperfmgr/aidl/tests/
DBackgroundWorkerTest.cpp112 TEST(TemplatePriorityQueueWorker, testDouble) { in TEST() argument

123