Home
last modified time | relevance | path

Searched refs:expected1 (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Didentity_n_op_test.cc48 Tensor expected1(allocator(), DT_DOUBLE, TensorShape({6})); in TEST_F() local
49 test::FillValues<double>(&expected1, {7.3, 8.3, 9.3, 10.3, 11.3, 12.3}); in TEST_F()
50 test::ExpectTensorEqual<double>(expected1, *GetOutput(1)); in TEST_F()
73 Tensor expected1(allocator(), DT_INT32, TensorShape({8})); in TEST_F() local
74 test::FillValues<int32>(&expected1, {1, 3, 5, 7, 9, 11, 13, 15}); in TEST_F()
75 test::ExpectTensorEqual<int32>(expected1, *GetOutput(1)); in TEST_F()
/external/libchrome/crypto/
Dsha2_unittest.cc15 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, in TEST() local
27 EXPECT_EQ(expected1[i], static_cast<int>(output1[i])); in TEST()
33 EXPECT_EQ(expected1[i], static_cast<int>(output_truncated1[i])); in TEST()
40 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, in TEST() local
52 EXPECT_EQ(expected1[i], static_cast<uint8_t>(output1[i])); in TEST()
/external/epid-sdk/epid/member/tiny/math/unittests/internal/
Donetimepad-test.cc35 const std::vector<unsigned int> expected1({0x07050301, 0}); in TEST() local
40 EXPECT_EQ(expected1, actual1); in TEST()
50 const std::vector<unsigned int> expected1({0x07050301, 0}); in TEST() local
56 EXPECT_EQ(expected1, actual1); in TEST()
79 std::vector<uint8_t> expected1({0x01, 0x00, 0x00, 0x00}); in TEST() local
85 EXPECT_EQ(expected1, actual); in TEST()
/external/mesa3d/src/gallium/tests/graw/
Docclusion-query.c13 static int expected1 = (int) ((300 * 0.9) * (300 * 0.9)); variable
153 int expected1_min = (int) (expected1 * 0.95); in draw()
154 int expected1_max = (int) (expected1 * 1.05); in draw()
192 printf(" Failure: result1 should be near %d\n", expected1); in draw()
/external/deqp/modules/gles2/functional/
Des2fApiCase.cpp76 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) in expectError() argument
79 if (err != expected0 && err != expected1) in expectError()
81 …expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << tcu::TestLog… in expectError()
/external/deqp/modules/gles3/functional/
Des3fApiCase.cpp78 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) in expectError() argument
81 if (err != expected0 && err != expected1) in expectError()
83 …expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << TestLog::End… in expectError()
Des3fFboStateQueryTests.cpp132 void checkIntEqualsAny (tcu::TestContext& testCtx, GLint got, GLint expected0, GLint expected1) in checkIntEqualsAny() argument
136 if (got != expected0 && got != expected1) in checkIntEqualsAny()
138 …testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected0 << " or " << expected1 in checkIntEqualsAny()
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dparser_unittest.py742 expected1 = ast.Mojom(
750 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
785 expected1 = ast.Mojom(
798 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
960 expected1 = ast.Mojom(
964 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
1096 expected1 = ast.Mojom(
1100 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
1434 expected1 = ast.Mojom(
1446 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_segment_ids_to_row_splits_op_test.py63 expected1 = [0, 3, 3, 5, 6, 9]
67 self.assertAllEqual(splits1, expected1)
Dragged_segment_op_test.py160 expected1 = [[[111, 112, 113, 114], [121]], # row 0
164 self.assertRaggedEqual(segmented1, expected1)
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c978 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0xfffd, 0x0061}; in TestWithBufferSize() local
982expected1, UPRV_LENGTHOF(expected1),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE)) in TestWithBufferSize()
1545 static const uint8_t expected1[] = {0xa2, 0xae,0xA2,0xB4,0xA1,0xD7,0xA1,0xA7}; in TestResetBehaviour() local
1556 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1568 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1587 static const uint8_t expected1[] = {0x1b, 0x24, 0x42,0x30,0x6c,0x43,0x7a,0x1b,0x28,0x42, in TestResetBehaviour() local
1599 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1678 static const uint8_t expected1[] = {0x1B, 0x24, 0x29, 0x43, in TestResetBehaviour() local
1698 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1724 static const uint8_t expected1[] = {0x7E, 0x7B, 0x52, 0x3B, in TestResetBehaviour() local
[all …]
Dnccbtst.c915 UChar expected1[] = { 0x0031, 0x4e8c, 0x0061}; in TestSkip() local
919 expected1, UPRV_LENGTHOF(expected1),"utf8", in TestSkip()
927 UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061,0xfffe,0xfffe}; in TestSkip() local
931 expected1, UPRV_LENGTHOF(expected1),"SCSU", in TestSkip()
1331 static const UChar expected1[] = { 0x0031, 0x4e8c,}; in TestStop() local
1335 expected1, UPRV_LENGTHOF(expected1),"utf8", in TestStop()
1342 static const UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061}; in TestStop() local
1346 expected1, UPRV_LENGTHOF(expected1),"SCSU", in TestStop()
1621 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0xfffd, 0x0061}; in TestSub() local
1625 expected1, UPRV_LENGTHOF(expected1),"utf8", in TestSub()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java79 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", in TestConstructors() local
84 for (int i = 0; i < expected1.length; i ++) { in TestConstructors()
85 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
86 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
169 String expected1[] = {"bmp string ", in TestSupplementary() local
174 if (!tokenizer.nextElement().equals(expected1[i ++])) { in TestSupplementary()
465 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", in TestNextNewDelimiters() local
467 for (int i = 0; i < expected1.length; i ++) { in TestNextNewDelimiters()
469 expected1[i])) { in TestNextNewDelimiters()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java76 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", in TestConstructors() local
81 for (int i = 0; i < expected1.length; i ++) { in TestConstructors()
82 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
83 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
166 String expected1[] = {"bmp string ", in TestSupplementary() local
171 if (!tokenizer.nextElement().equals(expected1[i ++])) { in TestSupplementary()
462 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", in TestNextNewDelimiters() local
464 for (int i = 0; i < expected1.length; i ++) { in TestNextNewDelimiters()
466 expected1[i])) { in TestNextNewDelimiters()
/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash128Test.java51 private static void assertHash(int seed, long expected1, long expected2, String stringInput) { in assertHash() argument
52 HashCode expected = toHashCode(expected1, expected2); in assertHash()
DHashTestUtils.java453 HashCode expected1 = randomHash(hashFunction, new Random(1L), numActions); in assertIndependentHashers() local
466 Assert.assertEquals(expected1, hasher1.hash()); in assertIndependentHashers()
/external/python/setuptools/pkg_resources/tests/
Dtest_working_set.py76 expected1, expected2
85 (name, False, expected1),
/external/icu/icu4c/source/test/intltest/
Dtsdcfmsy.cpp354 const char16_t* expected1; // Expected number format string in testNumberingSystem() member
378 UnicodeString expected1(cas.expected1); in testNumberingSystem() local
384 Verify(1234.56, "#,##0.##", dfs, expected1); in testNumberingSystem()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiler_test.cc545 xla::Literal expected1 = xla::LiteralUtil::CreateR1<int32>({-7, -42}); in TEST_F() local
547 xla::LiteralUtil::MakeTuple({&expected0, &expected1}); in TEST_F()
974 xla::Literal expected1 = xla::LiteralUtil::CreateR1<int32>({4, 143}); in RunAndCheckVariablesComputation() local
976 xla::LiteralUtil::MakeTuple({&expected0, &expected1}); in RunAndCheckVariablesComputation()
1254 xla::Literal expected1 = xla::LiteralUtil::CreateR1<int32>({26, 66, 34, 401}); in TEST_F() local
1256 xla::LiteralUtil::MakeTuple({&expected0, &expected1}); in TEST_F()
1322 xla::Literal expected1 = xla::LiteralUtil::CreateR1<int32>({26, 66, 34, 401}); in TEST_F() local
1324 xla::LiteralUtil::MakeTuple({&expected0, &expected1}); in TEST_F()
/external/deqp/modules/gles31/functional/
Des31fShaderAtomicOpTests.cpp762 const deUint32 expected1 = randomValue ^ ~0u; in verify() local
772 const deUint32 expected = (numXorZeros%2 == 0) ? expected0 : expected1; in verify()
777 << " or " << tcu::toHex(expected1) << " (compare mask " << tcu::toHex(compareMask) in verify()
789 (outputValue & compareMask) != (expected1&compareMask)) in verify()
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterTest.java193 float[] expected1 = {6.09f}; in testRunForMultipleInputsOutputs() local
195 assertThat(parsedOutput1).usingTolerance(0.1f).containsExactly(expected1).inOrder(); in testRunForMultipleInputsOutputs()
/external/spirv-llvm/test/SPIRV/transcoding/
DAtomicCompareExchangeExplicit_cl20.ll47 …ange_strong_explicitPVU3AS4U7_AtomiciPiiiii(i32 addrspace(4)* %0, i32* %expected1, i32 %desired, i…
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExportUtilsTest.java487 TimeSeries expected1 = in createTimeSeriesList_cumulative() local
509 assertThat(timeSeriesList).containsExactly(expected1, expected2); in createTimeSeriesList_cumulative()
/external/google-breakpad/src/common/
Dbyte_cursor_unittest.cc709 uint8_t expected1[3] = { 0x5d, 0x31, 0x09 }; in TEST() local
712 EXPECT_TRUE(memcmp(received1, expected1, 3) == 0); in TEST()
/external/skqp/tests/
DProcessorTest.cpp410 SkPMColor4f expected1 = alphaModulation ? (fpPreModulation * in1f.fA) in legal_modulation() local
417 return fuzzy_color_equals(out1f, expected1) && in legal_modulation()

12