- const float largest_difference_limit = 1.5 / 255.0;
- const float rms_limit = 0.5 / 255.0;
-
- EXPECT_LT(largest_difference, largest_difference_limit);
+ EXPECT_LT(largest_difference, largest_difference_limit)
+ << "Largest difference is in x=" << largest_diff_x << ", y=" << largest_diff_y << ":\n"
+ << "Reference: " << ref[largest_diff_y * width + largest_diff_x] << "\n"
+ << "Result: " << result[largest_diff_y * width + largest_diff_x];