NOLINTBEGIN
| 4 | |
| 5 | // NOLINTBEGIN |
| 6 | TEST(TestColor, equal) |
| 7 | { |
| 8 | int red = 85; |
| 9 | int green = 170; |
| 10 | int blue = 255; |
| 11 | |
| 12 | Base::Color color(red / 255.0F, green / 255.0F, blue / 255.0F); |
| 13 | uint32_t packed = color.getPackedValue(); |
| 14 | |
| 15 | Base::Color color2 {packed}; |
| 16 | EXPECT_EQ(color, color2); |
| 17 | } |
| 18 | |
| 19 | TEST(TestColor, round) |
| 20 | { |
nothing calls this directly
no test coverage detected