Home
last modified time | relevance | path

Searched refs:expectedValues (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DSerialMapTests.cpp41 std::vector<int> expectedValues = {1, 2, 3}; in TEST() local
43 EXPECT_EQ(expectedValues.front(), value); in TEST()
44 ASSERT_FALSE(expectedValues.empty()); in TEST()
45 expectedValues.erase(expectedValues.begin()); in TEST()
47 ASSERT_TRUE(expectedValues.empty()); in TEST()
71 std::vector<int> expectedValues = {1, 2, 3, 4, 5}; in TEST() local
73 EXPECT_EQ(expectedValues.front(), value); in TEST()
74 ASSERT_FALSE(expectedValues.empty()); in TEST()
75 expectedValues.erase(expectedValues.begin()); in TEST()
77 ASSERT_TRUE(expectedValues.empty()); in TEST()
[all …]
DSerialQueueTests.cpp41 std::vector<int> expectedValues = {1, 2, 3}; in TEST() local
43 EXPECT_EQ(expectedValues.front(), value); in TEST()
44 ASSERT_FALSE(expectedValues.empty()); in TEST()
45 expectedValues.erase(expectedValues.begin()); in TEST()
47 ASSERT_TRUE(expectedValues.empty()); in TEST()
71 std::vector<int> expectedValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}; in TEST() local
73 EXPECT_EQ(expectedValues.front(), value); in TEST()
74 ASSERT_FALSE(expectedValues.empty()); in TEST()
75 expectedValues.erase(expectedValues.begin()); in TEST()
77 ASSERT_TRUE(expectedValues.empty()); in TEST()
[all …]
/third_party/benchmark/test/
Dargs_product_test.cc11 : expectedValues({{0, 100, 2000, 30000}, in ArgsProductFixture()
30 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
38 if (actualValues != expectedValues) { in ~ArgsProductFixture()
40 for (const auto& v : expectedValues) { in ~ArgsProductFixture()
58 std::set<std::vector<int64_t>> expectedValues; member in ArgsProductFixture
Dmultiple_ranges_test.cc11 : expectedValues({{1, 3, 5}, in MultipleRangesFixture()
35 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
43 if (actualValues != expectedValues) { in ~MultipleRangesFixture()
45 for (const auto& v : expectedValues) { in ~MultipleRangesFixture()
63 std::set<std::vector<int64_t>> expectedValues; member in MultipleRangesFixture
/third_party/skia/third_party/externals/angle2/src/common/
Dbitset_utils_unittest.cpp302 std::set<size_t> expectedValues = {0, 1, 3, 5, 6, 7, 9, 35}; in TYPED_TEST() local
326 EXPECT_EQ(expectedValues, actualValues); in TYPED_TEST()
333 std::set<size_t> expectedValues = {1, 3, 5, 7, 9}; in TYPED_TEST() local
353 EXPECT_EQ(expectedValues, actualValues); in TYPED_TEST()
360 std::set<size_t> expectedValues = {1, 2, 3, 4, 5, 7, 9}; in TYPED_TEST() local
384 EXPECT_EQ(expectedValues, actualValues); in TYPED_TEST()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp165 …erifyValues (tcu::TestLog& log, const void* memory, const std::vector<OffsetValue>& expectedValues) in verifyValues() argument
170 …for (std::vector<OffsetValue>::const_iterator it = expectedValues.begin(); it < expectedValues.end… in verifyValues()
196 std::vector<OffsetValue> expectedValues; //!< list of values to check inside the ssbo buffer member
486 const std::vector<OffsetValue>& expectedValues,
501 const std::vector<OffsetValue>& expectedValues, in ComputeTestInstance() argument
506 , m_expectedValues (expectedValues) in ComputeTestInstance()
586 const std::vector<OffsetValue>& expectedValues,
603 const std::vector<OffsetValue>& expectedValues, in GraphicsTestInstance() argument
609 , m_expectedValues (expectedValues) in GraphicsTestInstance()
777 …ance(context, m_caseDef.ssboSize, m_caseDef.specConstants, m_caseDef.expectedValues, m_caseDef.pac… in createInstance()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferZeroInitTests.cpp148 std::vector<float> expectedValues(expectedValueCount, 0.f); in TestBufferZeroInitInCopyTextureToBuffer() local
158 expectedValues[baseOffsetFloatCountPerRow + x] = 0.5f; in TestBufferZeroInitInCopyTextureToBuffer()
163 EXPECT_LAZY_CLEAR(0u, EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedValues.data(), buffer, 0, in TestBufferZeroInitInCopyTextureToBuffer()
164 expectedValues.size())); in TestBufferZeroInitInCopyTextureToBuffer()
900 const std::vector<uint32_t> expectedValues(totalBufferSize / sizeof(uint32_t), 0); in TEST_P() local
901 EXPECT_LAZY_CLEAR(0u, EXPECT_BUFFER_U32_RANGE_EQ(expectedValues.data(), buffer, 0, in TEST_P()
918 const std::vector<uint32_t> expectedValues(totalBufferSize / sizeof(uint32_t), 0); in TEST_P() local
919 EXPECT_LAZY_CLEAR(0u, EXPECT_BUFFER_U32_RANGE_EQ(expectedValues.data(), buffer, 0, in TEST_P()
DCopyTests.cpp1014 std::array<float, kPixelsPerRow> expectedValues; in TEST_P() local
1015 std::fill(expectedValues.begin(), expectedValues.end(), kClearDepthValue); in TEST_P()
1016 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedValues.data(), buffer, kBufferCopyOffset, kPixelsPerRow); in TEST_P()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBuiltinTests.cpp2193 const vector<deInt32> expectedValues = expectedIntValuesBuffer(); in validateIntBuffer() local
2202 if (bufferPtr[pos] != expectedValues[pos]) in validateIntBuffer()
2213 const deInt32* loggedData = (n == 0) ? bufferPtr : expectedValues.data(); in validateIntBuffer()
2223 if (bufferPtr[pos] == expectedValues[pos]) in validateIntBuffer()
2246 const vector<float> expectedValues = expectedFloatValuesBuffer(); in validateFloatBuffer() local
2257 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateFloatBuffer()
2279 const float expectedValue = expectedValues[pos]; in validateFloatBuffer()
2304 const vector<float> expectedValues = expectedVectorValuesBuffer(); in validateVectorBuffer() local
2318 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateVectorBuffer()
2342 const float expectedValue = expectedValues[pos]; in validateVectorBuffer()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DComputeShaderTest.cpp38 const std::array<T, kWidth * kHeight> &expectedValues) in runSharedMemoryTest() argument
81 EXPECT_EQ(expectedValues[i], outputValues[i]); in runSharedMemoryTest()
2283 const std::array<GLuint, 4> expectedValues = {{250, 200, 150, 250}}; in TEST_P() local
2285 expectedValues); in TEST_P()
2310 const std::array<GLuint, 4> expectedValues = {{250, 150, 200, 100}}; in TEST_P() local
2312 expectedValues); in TEST_P()
2341 const std::array<GLuint, 4> expectedValues = {{250, 150, 200, 100}}; in TEST_P() local
2343 expectedValues); in TEST_P()
2410 const std::array<GLuint, 8> expectedValues = {{255, 1, 128, 255, 0, 255, 128, 256}}; in TEST_P() local
2412 expectedValues); in TEST_P()
[all …]
/third_party/protobuf/objectivec/Tests/
DGPBUtilitiesTests.m214 id expectedValues = repeatedFieldValues[fieldName];
215 GPBSetMessageRepeatedField(message, field, expectedValues);
216 XCTAssertEqualObjects(expectedValues,
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java324 int[] expectedValues = new int[] {1, 100000, 1, 100000}; in testParserAcceptFloatingPointValueForIntegerField() local
330 assertEquals(expectedValues[i], builder.getRepeatedInt32(i)); in testParserAcceptFloatingPointValueForIntegerField()
331 assertEquals(expectedValues[i], builder.getRepeatedUint32(i)); in testParserAcceptFloatingPointValueForIntegerField()
332 assertEquals(expectedValues[i], builder.getRepeatedInt64(i)); in testParserAcceptFloatingPointValueForIntegerField()
333 assertEquals(expectedValues[i], builder.getRepeatedUint64(i)); in testParserAcceptFloatingPointValueForIntegerField()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp548 std::ostringstream expectedValues; in compareAndLogBuffer() local
555 expectedValues << ", "; in compareAndLogBuffer()
559 expectedValues << reference[ndx]; in compareAndLogBuffer()
565 expectedValues << "..."; in compareAndLogBuffer()
569 …log << TestLog::Message << "Expected values at offset: " << firstFailed << ", " << expectedValues.… in compareAndLogBuffer()
/third_party/typescript/src/harness/
DvirtualFileSystemWithWatch.ts176 const [expectedValues, valueMapper] = valueTester || [undefined, undefined!]; constant
182 if (expectedValues) {
185 expectedValues.get(name),
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustBufferAccessWithVariablePointersTests.cpp1522 const deUint32 expectedValues[2] = { valueIndex, valueIndex + 1u }; in isExpectedValueFromInBuffer() local
1523 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
1528 const deInt32 expectedValues[2] = { value, value - 1 }; in isExpectedValueFromInBuffer() local
1529 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cGlSpirvTests.cpp764 GLint expectedValues[4] = {1, 1, 1, 1}; in iterate() local
780 if (programState[i] != expectedValues[i]) in iterate()
783 … << "Expected: " << expectedValues[i] <<", Queried: " in iterate()