Home
last modified time | relevance | path

Searched refs:expected_values (Results 1 – 25 of 26) sorted by relevance

12

/third_party/googletest/googletest/test/
Dgoogletest-param-test-test.cc79 const T (&expected_values)[N]) { in VerifyGenerator()
87 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
89 << ", expected_values[i] is " << PrintValue(expected_values[i]) in VerifyGenerator()
107 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
109 << ", expected_values[i] is " << PrintValue(expected_values[i]) in VerifyGenerator()
174 const int expected_values[] = {0, 1, 2}; in TEST() local
175 VerifyGenerator(gen, expected_values); in TEST()
182 const int expected_values[] = {0}; in TEST() local
183 VerifyGenerator(gen, expected_values); in TEST()
197 const int expected_values[] = {0, 3, 6}; in TEST() local
[all …]
/third_party/harfbuzz/src/
Dtest-array.cc37 int expected_values[] = {9, 8, 7, 6, 5, 4, 3, 2, 1}; in test_reverse() local
38 hb_array_t<int> expected (expected_values, 9); in test_reverse()
49 int expected_values[] = {1, 2, 6, 5, 4, 3, 7, 8, 9}; in test_reverse_range() local
50 hb_array_t<int> expected (expected_values, 9); in test_reverse_range()
65 int expected_values[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; in test_reverse_invalid() local
66 hb_array_t<int> expected (expected_values, 9); in test_reverse_invalid()
/third_party/skia/third_party/externals/harfbuzz/src/
Dtest-array.cc37 int expected_values[] = {9, 8, 7, 6, 5, 4, 3, 2, 1}; in test_reverse() local
38 hb_array_t<int> expected (expected_values, 9); in test_reverse()
49 int expected_values[] = {1, 2, 6, 5, 4, 3, 7, 8, 9}; in test_reverse_range() local
50 hb_array_t<int> expected (expected_values, 9); in test_reverse_range()
65 int expected_values[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; in test_reverse_invalid() local
66 hb_array_t<int> expected (expected_values, 9); in test_reverse_invalid()
/third_party/boost/libs/mpi/test/
Dgather_test.cpp46 std::vector<value_type> expected_values; in gather_test() local
48 expected_values.push_back(generator(p)); in gather_test()
49 BOOST_CHECK(values == expected_values); in gather_test()
89 std::vector<value_type> expected_values; in gatherv_test() local
92 expected_values.push_back(generator(p)); in gatherv_test()
94 BOOST_CHECK(values == expected_values); in gatherv_test()
Dall_gather_test.cpp43 std::vector<value_type> expected_values; in all_gather_test() local
45 expected_values.push_back(generator(p)); in all_gather_test()
46 BOOST_CHECK(values == expected_values); in all_gather_test()
47 if (comm.rank() == 0 && values == expected_values) in all_gather_test()
/third_party/boost/libs/range/test/adaptor_test/
Dmap.cpp126 const boost::array<char, 3> expected_values = {{ 'a', 'b', 'c' }}; in test_trac_item_4388() local
141 expected_values.begin(), expected_values.end(), in test_trac_item_4388()
151 expected_values.begin(), expected_values.end(), in test_trac_item_4388()
/third_party/abseil-cpp/absl/types/
Dany_test.cc215 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
216 EXPECT_EQ(expected_values, v.values); in TEST()
224 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
225 EXPECT_EQ(expected_values, v.values); in TEST()
233 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
234 EXPECT_EQ(expected_values, v.values); in TEST()
242 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
243 EXPECT_EQ(expected_values, v.values); in TEST()
328 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
329 EXPECT_EQ(expected_values, v.values); in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dany_test.cc215 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
216 EXPECT_EQ(expected_values, v.values); in TEST()
224 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
225 EXPECT_EQ(expected_values, v.values); in TEST()
233 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
234 EXPECT_EQ(expected_values, v.values); in TEST()
242 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
243 EXPECT_EQ(expected_values, v.values); in TEST()
328 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
329 EXPECT_EQ(expected_values, v.values); in TEST()
[all …]
/third_party/boost/libs/gil/test/core/image_processing/
Dsimple_kernels.cpp39 const float expected_values[7][7] = in test_gaussian_kernel_generation() local
55 auto expected = expected_values[y][x]; in test_gaussian_kernel_generation()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cPipelineStatisticsQueryTests.hpp287 const glw::GLuint64* expected_values, bool should_check_qo_bo_values,
313 const glw::GLuint64* expected_values, glw::GLenum query_type, in getVerifyResultValuesErrorString() argument
320 DE_ASSERT(expected_values != DE_NULL); in getVerifyResultValuesErrorString()
326 << expected_values[0] << "]"; in getVerifyResultValuesErrorString()
330 log_sstream << " or [" << expected_values[i] << "]"; in getVerifyResultValuesErrorString()
Dgl4cPipelineStatisticsQueryTests.cpp1205 …execution_result& run_result, unsigned int n_expected_values, const glw::GLuint64* expected_values, in verifyResultValues() argument
1247 expected_value = expected_values[n_expected_value]; in verifyResultValues()
1319 …run_result.result_int, "non-QO BO int32", n_expected_values, expected_values, query_type, draw_cal… in verifyResultValues()
1330 …run_result.result_int64, "non-QO BO int64", n_expected_values, expected_values, query_type, draw_c… in verifyResultValues()
1341 …run_result.result_uint, "non-QO BO uint32", n_expected_values, expected_values, query_type, draw_c… in verifyResultValues()
1352 …run_result.result_uint, "non-QO BO uint64", n_expected_values, expected_values, query_type, draw_c… in verifyResultValues()
1365 …run_result.result_qo_int, "QO BO int32", n_expected_values, expected_values, query_type, draw_call… in verifyResultValues()
1376 run_result.result_qo_int64, "QO BO int64", n_expected_values, expected_values, query_type, in verifyResultValues()
1387 run_result.result_qo_uint, "QO BO uint32", n_expected_values, expected_values, query_type, in verifyResultValues()
1398 run_result.result_qo_uint64, "QO BO uint64", n_expected_values, expected_values, query_type, in verifyResultValues()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.cpp2384 glw::GLint expected_values[m_n_components_per_varying]; in checkResult() local
2389 expected_values[i] = ((x_offset + captured_data.without_offset[i]) % texture_size); in checkResult()
2395 if (captured_data.with_offset[i] != expected_values[i]) in checkResult()
2525 glw::GLint expected_values[m_n_components_per_varying]; in checkResult() local
2530 expected_values[i] = ((y_offset + captured_data.without_offset[i]) % texture_size); in checkResult()
2536 if (captured_data.with_offset[i] != expected_values[i]) in checkResult()
2701 glw::GLint expected_values[m_n_components_per_varying]; in checkResult() local
2790 expected_values[i] = absolute_position_x + gather_offsets_x[i]; in checkResult()
2791 expected_values[i] += x_offset; in checkResult()
2794 …if ((0 > expected_values[i]) || (((glw::GLint)texture_size) < expected_values[i]) || (0 != wrap_ma… in checkResult()
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Darray-prototype-entries.js51 var expected_values = [2, 3, 5, 7]; variable
59 assert (current_item.value[1] === expected_values[expected_values_idx]);
Darray-prototype-values.js61 var expected_values = [2, 3, 5, 7]; variable
67 assert (current_item.value === expected_values[expected_values_idx++]);
/third_party/boost/libs/intrusive/test/
Dlist_test.cpp243 std::vector<int> expected_values(num_values); in test_shift() local
246 expected_values.resize(s); in test_shift()
252 expected_values[(j + s - i%s) % s] = (j + 1); in test_shift()
254 TEST_INTRUSIVE_SEQUENCE_EXPECTED(expected_values, testlist.begin()); in test_shift()
263 expected_values[(j + i) % s] = (j + 1); in test_shift()
265 TEST_INTRUSIVE_SEQUENCE_EXPECTED(expected_values, testlist.begin()); in test_shift()
Dslist_test.cpp295 std::vector<int> expected_values(num_values); in test_shift() local
299 expected_values.resize(s); in test_shift()
304 expected_values[(j + s - i%s) % s] = (j + 1); in test_shift()
307 TEST_INTRUSIVE_SEQUENCE_EXPECTED(expected_values, testlist.begin()) in test_shift()
316 expected_values[(j + i) % s] = (j + 1); in test_shift()
319 TEST_INTRUSIVE_SEQUENCE_EXPECTED(expected_values, testlist.begin()) in test_shift()
/third_party/boost/libs/random/test/
Dtest_qrng_functions.hpp43 inline void expected_values(T (&pt)[N][Dimension], std::size_t skip) in expected_values() function
225 test::expected_values<engine_t>(pt, skip); \
/third_party/spirv-tools/test/
Dtext_literal_test.cpp164 std::vector<uint32_t> expected_values; member
203 Eq(GetParam().expected_values)); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtext_literal_test.cpp164 std::vector<uint32_t> expected_values; member
203 Eq(GetParam().expected_values)); in TEST_P()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dtext_literal_test.cpp162 std::vector<uint32_t> expected_values; member
203 Eq(GetParam().expected_values)); in TEST_P()
Dbit_stream.cpp1180 const std::vector<uint64_t> expected_values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in TEST() local
1183 for (uint64_t val : expected_values) { in TEST()
1197 EXPECT_EQ(expected_values, actual_values); in TEST()
1201 const std::vector<uint64_t> expected_values = {1000, 0, 255, 4294967296}; in TEST() local
1205 for (uint64_t val : expected_values) { in TEST()
1219 EXPECT_EQ(expected_values, actual_values); in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/
Dtext_literal_test.cpp164 std::vector<uint32_t> expected_values; member
203 Eq(GetParam().expected_values)); in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp1586 bool verifyFace(const T* data, const glw::GLuint cube_face, const T* expected_values, const glw::GL… in verifyFace() argument
1607 if (data[data_pixel_offset + component] != expected_values[exp_pixel_offset + component]) in verifyFace()
1630 bool verifyImage(const T* data, const T* expected_values, const glw::GLuint n_layers) in verifyImage() argument
1638 …if (false == verifyFace<T, N_Components, Width, Height>(data, face, expected_values, n_total_faces… in verifyImage()
1675 std::vector<T> expected_values; in verifyResultImage() local
1676 expected_values.resize(n_total_components); in verifyResultImage()
1698 expected_values[component_offset] = components[component]; in verifyResultImage()
1704 return verifyImage<T, N_Components, Width, Height>(result_image, &expected_values[0], n_layers); in verifyResultImage()
/third_party/python/Lib/test/
D_test_multiprocessing.py2525 expected_values = list(map(sqr, list(range(10))))
2530 self.assertIn(value, expected_values)
2531 expected_values.remove(value)
2536 expected_values = list(map(sqr, list(range(20))))
2540 self.assertIn(value, expected_values)
2541 expected_values.remove(value)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp2446 const float expected_values[3] = in initAccelerationStructures() local
2455 static_cast<deInt32>(expected_values[0] * FIXED_POINT_DIVISOR), in initAccelerationStructures()
2456 static_cast<deInt32>(expected_values[1] * FIXED_POINT_DIVISOR), in initAccelerationStructures()
2457 static_cast<deInt32>(expected_values[2] * FIXED_POINT_DIVISOR), in initAccelerationStructures()

12