Home
last modified time | relevance | path

Searched refs:kExpected (Results 1 - 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DMultisampledRenderToTextureTest.cpp1265 const GLColor kExpected(127, 127, 0, 191); in drawCopyThenBlendCommon()
1266 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in drawCopyThenBlendCommon()
1267 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, 0, kExpected, 1); in drawCopyThenBlendCommon()
1268 EXPECT_PIXEL_COLOR_NEAR(0, kSize - 1, kExpected, 1); in drawCopyThenBlendCommon()
1269 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, kSize - 1, kExpected, 1); in drawCopyThenBlendCommon()
1998 const GLColor kExpected(127, 127, 0, 191); in clearThenBlendCommon()
1999 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in clearThenBlendCommon()
2000 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, 0, kExpected, 1); in clearThenBlendCommon()
2001 EXPECT_PIXEL_COLOR_NEAR(0, kSize - 1, kExpected, 1); in clearThenBlendCommon()
2002 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, kSize - 1, kExpected, in clearThenBlendCommon()
[all...]
H A DCopyTexImageTest.cpp752 constexpr std::array<GLubyte, 4> kExpected = {0, 255, 0, 255}; in TEST_P() local
753 verifyResults(dstColor, kExpected.data(), kTexSize, 0, 0, kTexSize / 2, kTexSize / 2); in TEST_P()
763 verifyResults(dstColor, kExpected.data(), kTexSize, kTexSize / 2, kTexSize / 2, kTexSize, in TEST_P()
806 constexpr std::array<GLubyte, 4> kExpected = {0, 255, 0, 255}; in TEST_P() local
807 verifyResults(dstColor, kExpected.data(), kTexSize, 0, 0, kTexSize / 2, kTexSize / 2); in TEST_P()
817 verifyResults(dstColor, kExpected.data(), kTexSize, kTexSize / 2, kTexSize / 2, kTexSize, in TEST_P()
H A DGeometryShaderTest.cpp1119 const GLColor kExpected(25, 51, 76, 102);
1121 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1);
1122 EXPECT_PIXEL_COLOR_NEAR(kWidth - 1, 0, kExpected, 1);
1123 EXPECT_PIXEL_COLOR_NEAR(0, kHeight - 1, kExpected, 1);
1124 EXPECT_PIXEL_COLOR_NEAR(kWidth - 1, kHeight - 1, kExpected, 1);
H A DMemoryBarrierTest.cpp669 const GLColor kExpected(expected[0] * 255, expected[1] * 255, expected[2] * 255, in verifyImageContents()
671 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in verifyImageContents()
679 const GLColor kExpected = in verifyFramebufferAndBufferContents() local
681 EXPECT_PIXEL_COLOR_EQ(0, 0, kExpected); in verifyFramebufferAndBufferContents()
693 const GLColor kExpected = in verifyFramebufferAndImageContents() local
695 EXPECT_PIXEL_COLOR_EQ(0, 0, kExpected); in verifyFramebufferAndImageContents()
806 const GLColor kExpected = in vertexAttribArrayBitBufferWriteThenVertexRead() local
808 EXPECT_PIXEL_COLOR_EQ(0, 0, kExpected); in vertexAttribArrayBitBufferWriteThenVertexRead()
H A DClearTest.cpp2274 const GLColor kExpected(127, 127, 127, 191); in TEST_P()
2275 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in TEST_P()
2276 EXPECT_PIXEL_COLOR_NEAR(0, kSize - 1, kExpected, 1); in TEST_P()
2277 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, 0, kExpected, 1); in TEST_P()
2278 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, kSize - 1, kExpected, 1); in TEST_P()
H A DTransformFeedbackTest.cpp3612 const std::vector<float> kExpected[kCapturedVaryingsCount] = { in TEST_P() local
3650 EXPECT_NEAR(bufferData[currentOffset + component], kExpected[index][component], 0.001f) in TEST_P()
3711 const std::vector<float> kExpected[kCapturedVaryingsCount] = { in TEST_P() local
3749 EXPECT_NEAR(bufferData[component], kExpected[index][component], 0.001f) in TEST_P()
H A DStateChangeTest.cpp1021 const GLColor kExpected(63, 127, 255, 255); in TEST_P()
1023 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in TEST_P()
1024 EXPECT_PIXEL_COLOR_NEAR(w - 1, 0, kExpected, 1); in TEST_P()
1025 EXPECT_PIXEL_COLOR_NEAR(0, h - 1, kExpected, 1); in TEST_P()
1026 EXPECT_PIXEL_COLOR_NEAR(w - 1, h - 1, kExpected, 1); in TEST_P()
/third_party/skia/tests/
H A DAndroidCodecTest.cpp198 static constexpr skcms_Matrix3x3 kExpected = {{ in DEF_TEST() local
203 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
H A DClearTest.cpp260 constexpr std::array<float, 4> kExpected { 0, 0, 0, 1 }; in clear_op_test()
261 REPORTER_ASSERT(reporter, clearOp.color() == kExpected); in clear_op_test()
286 constexpr std::array<float, 4> kExpected { 1, 1, 1, 1 }; in clear_op_test()
287 REPORTER_ASSERT(reporter, clearOp.color() == kExpected); in clear_op_test()
H A DIncrTopoSortTest.cpp478 const SkString kExpected("a,b,c,d,e,f,g"); in test_lopsided_binary_tree()
482 REPORTER_ASSERT(reporter, kExpected == actual); in test_lopsided_binary_tree()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dpool_urbg_test.cc152 const double kExpected = kNumOutputs / (1.0 * sizeof(result_type) * 8); in TYPED_TEST() local
153 EXPECT_LE(equal_count, 1.0 + kExpected); in TYPED_TEST()
H A Dranden_engine_test.cc97 const double kExpected = kNumOutputs / (1.0 * sizeof(result_type) * 8); in TYPED_TEST() local
98 EXPECT_LE(equal_count, 1.0 + kExpected); in TYPED_TEST()
H A Dpcg_engine_test.cc95 const double kExpected = kNumOutputs / (1.0 * sizeof(result_type) * 8); in TYPED_TEST() local
96 EXPECT_LE(equal_count, 1.0 + kExpected); in TYPED_TEST()
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
H A Dreplayer_test.cpp364 const std::string kExpected = R"( in TEST() local
395 IsEqual(env, kExpected, replayer_result.transformed_module.get())); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
H A Dreplayer_test.cpp364 const std::string kExpected = R"( in TEST() local
395 IsEqual(env, kExpected, replayer_result.transformed_module.get())); in TEST()
/third_party/spirv-tools/test/fuzz/
H A Dreplayer_test.cpp364 const std::string kExpected = R"( in TEST() local
395 IsEqual(env, kExpected, replayer_result.transformed_module.get())); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
H A Duniform_real_distribution_test.cc251 constexpr double kExpected = in TYPED_TEST() local
280 std::begin(counts), std::end(counts), kExpected); in TYPED_TEST()
H A Duniform_int_distribution_test.cc176 constexpr double kExpected = in TYPED_TEST() local
199 std::begin(counts), std::end(counts), kExpected); in TYPED_TEST()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DCreatePipelineAsyncTests.cpp63 constexpr uint32_t kExpected = 1u; in ValidateCreateComputePipelineAsync() local
64 EXPECT_BUFFER_U32_EQ(kExpected, ssbo, 0); in ValidateCreateComputePipelineAsync()
/third_party/googletest/googlemock/test/
H A Dgmock-matchers-comparisons_test.cc485 const int kExpected = 'c'; in TEST() local
487 EXPECT_TRUE(m.Matches(kExpected)); in TEST()
488 EXPECT_FALSE(m.Matches(kExpected + 1)); in TEST()
/third_party/node/deps/v8/src/codegen/
H A Dcode-stub-assembler.cc6184 int kExpected = Map::Bits3::IsExtensibleBit::kMask;
6186 Int32Constant(kExpected));

Completed in 51 milliseconds