Lines Matching refs:EXPECT_EQ
50 EXPECT_EQ(PixelConverter::rgba8888_le.fromPixel(pixel_red),
52 EXPECT_EQ(PixelConverter::rgba8888_le.fromPixel(pixel_green),
54 EXPECT_EQ(PixelConverter::rgba8888_le.fromPixel(pixel_blue),
57 EXPECT_EQ(PixelConverter::rgba8888_le.toPixel(0x000000ffU),
59 EXPECT_EQ(PixelConverter::rgba8888_le.toPixel(0x0000ff00U),
61 EXPECT_EQ(PixelConverter::rgba8888_le.toPixel(0x00ff0000U),
67 EXPECT_EQ(PixelConverter::rgb565_le.fromPixel(pixel_red), 0x001fU);
68 EXPECT_EQ(PixelConverter::rgb565_le.fromPixel(pixel_green), 0x07e0U);
69 EXPECT_EQ(PixelConverter::rgb565_le.fromPixel(pixel_blue), 0xf800U);
71 EXPECT_EQ(PixelConverter::rgb565_le.toPixel(0x001fU), pixel_red);
72 EXPECT_EQ(PixelConverter::rgb565_le.toPixel(0x07e0U), pixel_green);
73 EXPECT_EQ(PixelConverter::rgb565_le.toPixel(0xf800U), pixel_blue);
80 EXPECT_EQ(data[0], 0xff);
81 EXPECT_EQ(data[1], 0x00);
82 EXPECT_EQ(data[3], 0x00);
83 EXPECT_EQ(data[3], 0x00);
84 EXPECT_EQ(PixelConverter::rgba8888_le.toPixel(data), pixel_red);
87 EXPECT_EQ(data[0], 0x00);
88 EXPECT_EQ(data[1], 0xff);
89 EXPECT_EQ(data[3], 0x00);
90 EXPECT_EQ(data[3], 0x00);
91 EXPECT_EQ(PixelConverter::rgba8888_le.toPixel(data), pixel_green);
94 EXPECT_EQ(data[0], 0x00);
95 EXPECT_EQ(data[1], 0x00);
96 EXPECT_EQ(data[2], 0xff);
97 EXPECT_EQ(data[3], 0x00);
98 EXPECT_EQ(PixelConverter::rgba8888_le.toPixel(data), pixel_blue);
107 EXPECT_EQ(PixelConverter::rgba8888_le.toPixel(red), pixel_red);
108 EXPECT_EQ(PixelConverter::rgba8888_le.toPixel(green), pixel_green);
109 EXPECT_EQ(PixelConverter::rgba8888_le.toPixel(blue), pixel_blue);
118 EXPECT_EQ(PixelConverter::rgba8888_be.toPixel(red), pixel_red);
119 EXPECT_EQ(PixelConverter::rgba8888_be.toPixel(green), pixel_green);
120 EXPECT_EQ(PixelConverter::rgba8888_be.toPixel(blue), pixel_blue);