Home
last modified time | relevance | path

Searched refs:actual_result (Results 1 – 23 of 23) sorted by relevance

/external/rust/crates/itertools/tests/
Dmerge_join.rs9 let actual_result = merge_join_by(left, right, |l, r| l.cmp(r)) in empty() localVariable
11 assert_eq!(expected_result, actual_result); in empty()
23 let actual_result = merge_join_by(left, right, |l, r| l.cmp(r)) in left_only() localVariable
25 assert_eq!(expected_result, actual_result); in left_only()
37 let actual_result = merge_join_by(left, right, |l, r| l.cmp(r)) in right_only() localVariable
39 assert_eq!(expected_result, actual_result); in right_only()
54 let actual_result = merge_join_by(left, right, |l, r| l.cmp(r)) in first_left_then_right() localVariable
56 assert_eq!(expected_result, actual_result); in first_left_then_right()
71 let actual_result = merge_join_by(left, right, |l, r| l.cmp(r)) in first_right_then_left() localVariable
73 assert_eq!(expected_result, actual_result); in first_right_then_left()
[all …]
/external/rust/crates/ring/src/ec/suite_b/
Dops.rs581 let mut actual_result = Elem::<R>::zero(); in elem_div_by_2_test() localVariable
583 elem_div_by_2(actual_result.limbs.as_mut_ptr(), a.limbs.as_ptr()); in elem_div_by_2_test()
585 assert_limbs_are_equal(ops, &actual_result.limbs, &r.limbs); in elem_div_by_2_test()
629 let mut actual_result = Elem::<R>::zero(); in elem_neg_test() localVariable
631 elem_neg(actual_result.limbs.as_mut_ptr(), a.limbs.as_ptr()); in elem_neg_test()
633 assert_limbs_are_equal(ops, &actual_result.limbs, &b.limbs); in elem_neg_test()
638 let mut actual_result = Elem::<R>::zero(); in elem_neg_test() localVariable
640 elem_neg(actual_result.limbs.as_mut_ptr(), b.limbs.as_ptr()); in elem_neg_test()
642 assert_limbs_are_equal(ops, &actual_result.limbs, &a.limbs); in elem_neg_test()
696 let actual_result = ops.scalar_product(&a, &b); in scalar_mul_test() localVariable
[all …]
/external/toolchain-utils/binary_search_tool/test/
Dbinary_search_tool_test.py104 actual_result = [0] * len(expected_result)
106 actual_result[int(bad_obj)] = 1
108 self.assertEqual(actual_result, expected_result)
347 actual_result = [0] * len(expected_result)
349 actual_result[int(bad_obj)] = 1
351 self.assertEqual(actual_result, expected_result)
527 actual_result = [0] * len(expected_result)
529 actual_result[int(bad_obj)] = 1
531 self.assertEqual(actual_result, expected_result)
/external/tensorflow/tensorflow/python/ops/
Dscript_ops_test.py36 actual_result = script_ops.numpy_function(plus, [1, 2], dtypes.int32)
38 self.assertAllEqual(actual_result, expect_result)
/external/tensorflow/tensorflow/python/platform/
Dbenchmark_test.py49 actual_result = json_format.MessageToDict(
79 self.assertDictEqual(expected_result, actual_result)
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_test.cc145 string actual_result; in TestMultipleWrites() local
149 strings::StrAppend(&actual_result, decompressed_output); in TestMultipleWrites()
152 if (actual_result.compare(expected_result)) { in TestMultipleWrites()
183 string actual_result; in TestMultipleWritesInputStream() local
188 strings::StrAppend(&actual_result, decompressed_output); in TestMultipleWritesInputStream()
191 if (actual_result.compare(expected_result)) { in TestMultipleWritesInputStream()
/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer_test.cc314 static pw::Vector<byte, kTestBufferSize> actual_result; variable
370 actual_result.clear(); in DeringTest()
373 actual_result.push_back(b); in DeringTest()
384 EXPECT_EQ(expected_result.size(), actual_result.size()); in DeringTest()
385 ASSERT_EQ(memcmp(test_buffer, actual_result.data(), actual_result.size()), in DeringTest()
389 expected_result.data(), actual_result.data(), actual_result.size()), in DeringTest()
/external/rust/crates/ring/tests/
Decdsa_tests.rs153 let actual_result = in signature_ecdsa_verify_asn1_test() localVariable
155 assert_eq!(actual_result.is_ok(), is_valid); in signature_ecdsa_verify_asn1_test()
187 let actual_result = in signature_ecdsa_verify_fixed_test() localVariable
189 assert_eq!(actual_result.is_ok(), is_valid); in signature_ecdsa_verify_fixed_test()
Drsa_tests.rs225 let actual_result = in test_signature_rsa_pkcs1_verify() localVariable
227 assert_eq!(actual_result.is_ok(), is_valid && width_ok); in test_signature_rsa_pkcs1_verify()
274 let actual_result = in test_signature_rsa_pss_verify() localVariable
276 assert_eq!(actual_result.is_ok(), is_valid); in test_signature_rsa_pss_verify()
/external/rust/crates/ring/src/arithmetic/
Dbigint.rs1421 let actual_result = elem_exp_consttime(base, &e, &m).unwrap(); in test_elem_exp_consttime() localVariable
1422 assert_elem_eq(&actual_result, &expected_result); in test_elem_exp_consttime()
1447 let actual_result = elem_mul(&a, b, &m); in test_elem_mul() localVariable
1448 let actual_result = actual_result.into_unencoded(&m); in test_elem_mul() localVariable
1449 assert_elem_eq(&actual_result, &expected_result); in test_elem_mul()
1468 let actual_result = elem_squared(a, &m.as_partial()); in test_elem_squared() localVariable
1469 let actual_result = actual_result.into_unencoded(&m); in test_elem_squared() localVariable
1470 assert_elem_eq(&actual_result, &expected_result); in test_elem_squared()
1493 let actual_result = elem_reduced(&a, &m); in test_elem_reduced() localVariable
1495 let actual_result = elem_mul(oneRR.as_ref(), actual_result, &m); in test_elem_reduced() localVariable
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dcustom_training_loop_input_test.py70 actual_result = actual_results[i]
71 for val in actual_result:
377 actual_result = results[i]
378 for val in actual_result:
791 actual_result = distribution.experimental_local_results(data)
792 for val in actual_result:
812 actual_result = distribution.experimental_local_results(data)
813 for val in actual_result:
834 actual_result = distribution.experimental_local_results(data)
835 for val in actual_result:
Dcustom_training_loop_gradient_test.py59 actual_result = actual_results[i]
60 for val in actual_result:
/external/autotest/tko/perf_upload/
Dperf_uploader_unittest.py443 def _verify_result_string(self, actual_result, expected_result): argument
455 actual = json.loads(actual_result)
466 fail_msg = 'Unexpected result string: %s' % actual_result
/external/rust/crates/ring/src/ec/suite_b/ecdsa/
Dsigning.rs548 let actual_result = private_key in signature_ecdsa_sign_fixed_test() localVariable
552 assert_eq!(actual_result.as_ref(), &expected_result[..]); in signature_ecdsa_sign_fixed_test()
587 let actual_result = private_key in signature_ecdsa_sign_asn1_test() localVariable
591 assert_eq!(actual_result.as_ref(), &expected_result[..]); in signature_ecdsa_sign_asn1_test()
Dverification.rs333 let actual_result = alg.verify_digest( in test_digest_based_test_vectors() localVariable
338 assert_eq!(actual_result.is_ok(), invalid.is_none()); in test_digest_based_test_vectors()
/external/tensorflow/tensorflow/core/lib/io/
Dzlib_buffers_test.cc122 string actual_result; in TestMultipleWrites() local
151 strings::StrAppend(&actual_result, decompressed_output); in TestMultipleWrites()
154 EXPECT_EQ(actual_result, expected_result); in TestMultipleWrites()
/external/icu/icu4c/source/test/iotest/
Dstrtst.c755 int32_t i32 = -1, actual_count, actual_result; in TestCount() local
776 actual_result = u_sscanf(x15, "%C%d%n", &character, &i32, &actual_count); in TestCount()
777 if (actual_result != 2) { in TestCount()
778 log_err("scanf should return 2, but returned %d\n", actual_result); in TestCount()
/external/libbrillo/brillo/dbus/
Ddbus_method_invoker_test.cc32 const std::string& actual_result) { in SuccessCallback() argument
34 EXPECT_EQ(expected_result, actual_result); in SuccessCallback()
/external/protobuf/ruby/tests/
Drepeated_field_test.rb586 actual_result = yield(repeated_field)
588 assert_equal expected_result.to_a, actual_result.to_a
590 assert_equal expected_result, actual_result
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Drepeated_field_test.rb564 actual_result = yield(repeated_field)
566 assert_equal expected_result.to_a, actual_result.to_a
568 assert_equal expected_result, actual_result
/external/rust/crates/ring/src/rsa/
Dpadding.rs553 let actual_result = in test_pss_padding_verify() localVariable
555 assert_eq!(actual_result.is_ok(), is_valid); in test_pss_padding_verify()
/external/icing/icing/
Dicing-search-engine_test.cc2466 OptimizeResultProto actual_result = icing.Optimize(); in TEST_F() local
2467 actual_result.clear_optimize_stats(); in TEST_F()
2468 ASSERT_THAT(actual_result, EqualsProto(optimize_result_proto)); in TEST_F()
/external/deqp/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp15476 const glw::GLdouble* actual_result = reinterpret_cast<const glw::GLdouble*>(result_src); in isResultEdgeCase() local
15486 glw::GLdouble actual_result_component = actual_result[component]; in isResultEdgeCase()