Home
last modified time | relevance | path

Searched refs:testConvert (Results 1 – 10 of 10) sorted by relevance

/external/cbor-java/src/test/java/co/nstant/in/cbor/builder/
DAbstractBuilderTest.java25 public DataItem testConvert(float value) { in testConvert() method in AbstractBuilderTest.TestBuilder
56 assertTrue(builder.testConvert(0.0f) instanceof HalfPrecisionFloat);
57 assertTrue(0.0f == ((HalfPrecisionFloat) builder.testConvert(0.0f)).getValue());
58 assertTrue(builder.testConvert(0.3f) instanceof SinglePrecisionFloat);
59 assertTrue(0.3f == ((SinglePrecisionFloat) builder.testConvert(0.3f)).getValue());
71 assertTrue(builder.testConvert(0.0f) instanceof SinglePrecisionFloat);
72 assertTrue(0.0f == ((SinglePrecisionFloat) builder.testConvert(0.0f)).getValue());
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DDataDrivenCalendarTest.java65 testConvert(td, settings, true); in calendarTest()
67 testConvert(td, settings, false); in calendarTest()
76 void testConvert(String caseString, in testConvert() method in DataDrivenCalendarTest
128 private void testConvert(TestDataModule.TestData testData, DataMap settings, boolean forward) { in testConvert() method in DataDrivenCalendarTest
159 testConvert(caseString, fromSet, fromCalendar, toSet, toCalendar, forward); in testConvert()
163 testConvert(caseString, toSet, toCalendar, fromSet, fromCalendar, forward); in testConvert()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DDataDrivenCalendarTest.java68 testConvert(td, settings, true); in calendarTest()
70 testConvert(td, settings, false); in calendarTest()
79 void testConvert(String caseString, in testConvert() method in DataDrivenCalendarTest
131 private void testConvert(TestDataModule.TestData testData, DataMap settings, boolean forward) { in testConvert() method in DataDrivenCalendarTest
162 testConvert(caseString, fromSet, fromCalendar, toSet, toCalendar, forward); in testConvert()
166 testConvert(caseString, toSet, toCalendar, fromSet, fromCalendar, forward); in testConvert()
/external/icu/icu4c/source/test/intltest/
Ddadrcal.h43 void testConvert(TestData *testData, const DataMap *settings, UBool fwd);
45 void testConvert(int32_t n, const CalendarFieldsSet &fromSet,
Ddadrcal.cpp289 void DataDrivenCalendarTest::testConvert(int32_t n, in testConvert() function in DataDrivenCalendarTest
366 void DataDrivenCalendarTest::testConvert(TestData *testData, in testConvert() function in DataDrivenCalendarTest
438 testConvert(n, fromSet, fromCalendar.getAlias(), toSet, toCalendar.getAlias(), forward); in testConvert()
442 testConvert(n, toSet, toCalendar.getAlias(), fromSet, fromCalendar.getAlias(), forward); in testConvert()
473 testConvert(testData, settings, true); in processTest()
475 testConvert(testData, settings, false); in processTest()
/external/cronet/third_party/icu/source/test/intltest/
Ddadrcal.h43 void testConvert(TestData *testData, const DataMap *settings, UBool fwd);
45 void testConvert(int32_t n, const CalendarFieldsSet &fromSet,
Ddadrcal.cpp289 void DataDrivenCalendarTest::testConvert(int32_t n, in testConvert() function in DataDrivenCalendarTest
366 void DataDrivenCalendarTest::testConvert(TestData *testData, in testConvert() function in DataDrivenCalendarTest
438 testConvert(n, fromSet, fromCalendar.getAlias(), toSet, toCalendar.getAlias(), forward); in testConvert()
442 testConvert(n, toSet, toCalendar.getAlias(), fromSet, fromCalendar.getAlias(), forward); in testConvert()
473 testConvert(testData, settings, true); in processTest()
475 testConvert(testData, settings, false); in processTest()
/external/tensorflow/tensorflow/python/framework/
Dop_def_util_test.py72 def testConvert(self, attr_type, value, expected): member in OpDefUtilTest
Dpython_api_parameter_converter_test.py439 def testConvert(self, param_names, input_specs, attr_specs, inputs, outputs, member in PythonAPIWrapperTest
/external/desugar/java/com/google/devtools/common/options/testing/
DConverterTester.java113 public ConverterTester testConvert() { in testConvert() method in ConverterTester