mirror of
https://github.com/esphome/esphome.git
synced 2026-10-27 16:32:11 +00:00
[runtime_image] Use longer names in the PNG time limit test for clang-tidy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4df1b53d85
commit
84638cf2b6
1 file changed
+2
-2
@@ -155,8 +155,8 @@ TEST(PngTimeLimit, LargeImageIsDecodedOverSeveralCalls) {
|
||||
|
||||
ASSERT_EQ(img.get_width(), 800);
|
||||
ASSERT_EQ(img.get_height(), 600);
|
||||
for (auto [x, y] : {std::pair{0, 0}, std::pair{400, 300}, std::pair{799, 599}}) {
|
||||
const Color pixel = img.get_pixel(x, y);
|
||||
for (auto [col, row] : {std::pair{0, 0}, std::pair{400, 300}, std::pair{799, 599}}) {
|
||||
const Color pixel = img.get_pixel(col, row);
|
||||
EXPECT_EQ(pixel.r, 30);
|
||||
EXPECT_EQ(pixel.g, 120);
|
||||
EXPECT_EQ(pixel.b, 200);
|
||||
|
||||
Reference in new issue
Block a user