Home
last modified time | relevance | path

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

12

/third_party/boost/libs/geometry/test/algorithms/relate/
Dtest_relate.hpp115 std::string const& expected1, in check_geometry() argument
123 bool ok = matrix_compare(res_str, expected1, expected2); in check_geometry()
127 << " -> Expected: " << matrix_format(expected1, expected2) in check_geometry()
151 std::string expected1_tr = transposed(expected1); in check_geometry()
164 bool result = bg::relate(geometry1, geometry2, bg::de9im::mask(expected1)); in check_geometry()
169 << " -> Expected: " << expected1); in check_geometry()
175 … bool result0 = bg::relate(geometry1, geometry2, bg::de9im::mask(expected1), strategy_type()); in check_geometry()
179 bool result1 = bg::relate(geometry1, variant2, bg::de9im::mask(expected1)); in check_geometry()
180 bool result2 = bg::relate(variant1, geometry2, bg::de9im::mask(expected1)); in check_geometry()
181 bool result3 = bg::relate(variant1, variant2, bg::de9im::mask(expected1)); in check_geometry()
[all …]
/third_party/boost/libs/math/test/
Dtest_recurrence.cpp66 T expected1 = boost::math::cyl_neumann(v + 6, x); in test_spots() local
68 BOOST_CHECK_CLOSE_FRACTION(sixth, expected1, tol); in test_spots()
74 expected1 = boost::math::cyl_neumann(v + i, x); in test_spots()
76 BOOST_CHECK_CLOSE_FRACTION(found, expected1, tol); in test_spots()
98 expected1 = boost::math::cyl_neumann(v + i, x); in test_spots()
100 BOOST_CHECK_CLOSE_FRACTION(found, expected1, tol); in test_spots()
120 T expected1 = boost::math::cyl_bessel_j(v - 6, x); in test_spots() local
122 BOOST_CHECK_CLOSE_FRACTION(sixth, expected1, tol); in test_spots()
128 expected1 = boost::math::cyl_bessel_j(v - i, x); in test_spots()
130 BOOST_CHECK_CLOSE_FRACTION(found, expected1, tol); in test_spots()
[all …]
Dmath_unit_test.hpp67 bool check_ulp_close(PreciseReal expected1, Real computed, size_t ulps, std::string const & filenam… in check_ulp_close() argument
76 BOOST_ASSERT_MSG(!isnan(expected1), "Expected value cannot be a nan."); in check_ulp_close()
90 Real expected = Real(expected1); in check_ulp_close()
/third_party/mindspore/tests/ut/cpp/dataset/
Dpad_end_op_test.cc50 std::shared_ptr<Tensor> expected1[3]; in TEST_F() local
54 Tensor::CreateFromVector(out1, pad_shape1[0], &(expected1[0])); in TEST_F()
58 Tensor::CreateFromVector(out2, pad_shape1[1], &(expected1[1])); in TEST_F()
62 Tensor::CreateFromVector(out3, pad_shape1[2], &(expected1[2])); in TEST_F()
76 ASSERT_TRUE(output->shape() == expected1[i]->shape()); in TEST_F()
77 ASSERT_TRUE(output->type() == expected1[i]->type()); in TEST_F()
79 MS_LOG(DEBUG) << *expected1[i] << std::endl; in TEST_F()
80 ASSERT_TRUE(*output == *expected1[i]); in TEST_F()
/third_party/boost/libs/geometry/test/algorithms/
Dtest_for_each.hpp118 std::string const& expected1, in test_per_point_non_const() argument
132 BOOST_CHECK_MESSAGE(out1.str() == expected1, in test_per_point_non_const()
134 << " expected " << expected1 in test_per_point_non_const()
188 , std::string const& expected1 in test_per_point() argument
195 test_per_point_non_const(geometry, expected1, expected2); in test_per_point()
265 , std::string const& expected1 in test_geometry() argument
272 test_per_point<Geometry>(wkt, expected_sum_x, expected1, expected2); in test_geometry()
/third_party/boost/libs/container/test/
Dslist_test.cpp106 … slist<int> expected1; expected1.push_front(3); expected1.push_front(2); expected1.push_front(0); in test_for_splice() local
111 if (!(expected1 == list1 && expected2 == list2)) in test_for_splice()
117 slist<int> expected1; in test_for_splice() local
122 if (!(expected1 == list1 && expected2 == list2)) in test_for_splice()
/third_party/boost/libs/function_types/test/synthesis/
Dmember_function_pointer.cpp20 typedef int (C::* expected1)(int); typedef
28 , expected1 >
34 , expected1 >
Dmem_func_ptr_cv1.cpp20 typedef int (C::* expected1)(int); typedef
29 , expected1 >
55 , expected1 >
Dmem_func_ptr_cv2.cpp20 typedef int (C::* expected1)(int); typedef
29 , expected1 >
55 , expected1 >
/third_party/mesa3d/src/gallium/tests/graw/
Docclusion-query.c14 static int expected1 = (int) ((300 * 0.9) * (300 * 0.9)); variable
154 int expected1_min = (int) (expected1 * 0.95); in draw()
155 int expected1_max = (int) (expected1 * 1.05); in draw()
194 printf(" Failure: result1 should be near %d\n", expected1); in draw()
/third_party/mindspore/tests/st/probability/distribution/
Dtest_get_dist_args.py60 ans, expected, ans1, expected1 = net(value, mean, sd, mean_a, sd_a)
63 assert (np.abs(ans1.asnumpy() - expected1.asnumpy()) < tol).all()
98 ans, expected, ans1, expected1 = net(value, rate, rate1)
101 assert (np.abs(ans1.asnumpy() - expected1.asnumpy()) < tol).all()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/icu/icu4c/source/test/cintltst/
Dncnvtst.c966 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0xfffd, 0x0061}; in TestWithBufferSize() local
970expected1, UPRV_LENGTHOF(expected1),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE)) in TestWithBufferSize()
1533 static const uint8_t expected1[] = {0xa2, 0xae,0xA2,0xB4,0xA1,0xD7,0xA1,0xA7}; in TestResetBehaviour() local
1544 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1556 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1575 static const uint8_t expected1[] = {0x1b, 0x24, 0x42,0x30,0x6c,0x43,0x7a,0x1b,0x28,0x42, in TestResetBehaviour() local
1587 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1615 static const uint8_t expected1[] = { in TestResetBehaviour() local
1632 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1660 static const uint8_t expected1[] = {0x1B, 0x24, 0x29, 0x43, in TestResetBehaviour() local
[all …]
Dnccbtst.c911 UChar expected1[] = { 0x0031, 0x4e8c, 0x0061}; in TestSkip() local
915 expected1, UPRV_LENGTHOF(expected1),"utf8", in TestSkip()
923 UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061,0xfffe,0xfffe}; in TestSkip() local
927 expected1, UPRV_LENGTHOF(expected1),"SCSU", in TestSkip()
1327 static const UChar expected1[] = { 0x0031, 0x4e8c,}; in TestStop() local
1331 expected1, UPRV_LENGTHOF(expected1),"utf8", in TestStop()
1338 static const UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061}; in TestStop() local
1342 expected1, UPRV_LENGTHOF(expected1),"SCSU", in TestStop()
1617 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0xfffd, 0x0061}; in TestSub() local
1621 expected1, UPRV_LENGTHOF(expected1),"utf8", in TestSub()
[all …]
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_buffer_test.c95 uint8_t expected1[] = { 0xad, 0xde, 0xef, 0xbe }; in emit_bits() local
96 ASSERT_BLOB_DATA(&buf, expected1); in emit_bits()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/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()
/third_party/gn/src/gn/
Dfunction_get_target_outputs_unittest.cc42 const std::string& expected1, in AssertTwoStringsEqual() argument
47 ASSERT_EQ(expected1, list.list_value()[0].string_value()); in AssertTwoStringsEqual()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/signed_op/
Duint_umulextended.amber85 BUFFER expected1 DATA_TYPE int32 DATA
100 EXPECT data3 EQ_BUFFER expected1
Duint_smulextended.amber87 BUFFER expected1 DATA_TYPE int32 DATA
102 EXPECT data3 EQ_BUFFER expected1
/third_party/boost/libs/geometry/test/algorithms/envelope_expand/
Dexpand_on_spheroid.cpp101 Box const& expected1, in check_message() argument
115 stream << "; " << "expected: " << bg::dsv(expected1); in check_message()
159 Box expected1; in base_test() local
160 initialize_box<Box>::apply(expected1, in base_test()
178 << "expected: " << bg::dsv(expected1); in base_test()
190 = box_equals<Box>::apply(detected, expected1, tolerance); in base_test()
200 expected1, expected2, detected); in base_test()
/third_party/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()
/third_party/boost/libs/geometry/test/algorithms/set_operations/intersection/
Dintersection_areal_areal_linear.cpp60 MultiLinestring const& expected1, in apply()
68 tester::apply(open_areal1, open_areal2, expected1, expected2, case_id); in apply()
86 expected1, expected2, case_id_closed); in apply()
/third_party/node/test/parallel/
Dtest-util-inspect-proxy.js99 const expected1 = 'Proxy [ {}, {} ]'; constant
119 expected1);

12