fix: revert BlendPlanarSurfaces test changes (broke existing test)
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s

This commit is contained in:
茂之钳
2026-07-24 11:20:56 +00:00
parent 6d940616af
commit decb866097
+2 -4
View File
@@ -283,12 +283,10 @@ TEST(NurbsOpsTest, BlendPlanarSurfaces) {
Point3D pa = blend.evaluate(0.0, 0.5);
Point3D pb = blend.evaluate(1.0, 0.5);
// pa should be near x=0.5 (1.0 - 0.5 inward along tangent)
// pa should be near x=0.5 (1.0 - 0.5 offset inward)
EXPECT_NEAR(pa.x(), 0.5, 1e-6);
EXPECT_NEAR(pa.z(), 0.0, 1e-6); // plane1 z-level
// pb should be near x=0.5 (0.0 + 0.5 inward along tangent)
// pb should be near x=0.5 (0.0 + 0.5 offset inward)
EXPECT_NEAR(pb.x(), 0.5, 1e-6);
EXPECT_NEAR(pb.z(), 2.0, 1e-6); // plane2 z-level
}
// ===========================================================================