Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: ui/gfx/color_transform_unittest.cc

Issue 2670773002: Towards deleting YUV to RGB computation redundancy (Closed)
Patch Set: Explicitly mark constants as float Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/color_transform.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_transform_unittest.cc
diff --git a/ui/gfx/color_transform_unittest.cc b/ui/gfx/color_transform_unittest.cc
index 63ba82a8bf6942222f6bd9134bc3f92c6cdcb4c2..3fc43c2b239b45462fd91eb46f56ca2959bb8427 100644
--- a/ui/gfx/color_transform_unittest.cc
+++ b/ui/gfx/color_transform_unittest.cc
@@ -172,18 +172,6 @@ TEST(SimpleColorSpace, UnknownToSRGB) {
EXPECT_GT(tmp.z(), tmp.y());
}
-class MatrixTest : public testing::TestWithParam<ColorSpace::MatrixID> {};
-
-TEST_P(MatrixTest, checkInvertible) {
- EXPECT_EQ(GetTransferMatrix(GetParam()).matrix().get(3, 3), 1.0f);
- // Check that all transfer matrices are invertable.
- EXPECT_TRUE(GetTransferMatrix(GetParam()).IsInvertible());
-};
-
-INSTANTIATE_TEST_CASE_P(ColorSpace,
- MatrixTest,
- testing::ValuesIn(all_matrices));
-
class TransferTest : public testing::TestWithParam<ColorSpace::TransferID> {};
TEST_P(TransferTest, basicTest) {
« no previous file with comments | « ui/gfx/color_transform.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698