From 16964c7cb87f6046da9df26c9b9a2d16c149a414 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Mon, 6 Oct 2025 19:19:33 -0700 Subject: [PATCH] Increase tol for heightmap test (#1179) Signed-off-by: Ian Chen (cherry picked from commit 7900fc1b967abe1fd78e4d8d20ee79a975efd715) --- test/integration/heightmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/heightmap.cc b/test/integration/heightmap.cc index 9fdd22d6d..ad9c49fdc 100644 --- a/test/integration/heightmap.cc +++ b/test/integration/heightmap.cc @@ -349,7 +349,7 @@ TEST_F(HeightmapTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(Heightmap)) abs(depthg - normalData[normalIdx + 1]) > largeError || abs(depthb - normalData[normalIdx + 2]) > largeError) { - const uint8_t error = 9u; + const uint8_t error = 10u; EXPECT_NEAR(depthr, normalData[normalIdx + 0], error); EXPECT_NEAR(depthg, normalData[normalIdx + 1], error); EXPECT_NEAR(depthb, normalData[normalIdx + 2], error);