From decb866097d1129a03fd084bdcc06dc0a7305d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=82=E4=B9=8B=E9=92=B3?= Date: Fri, 24 Jul 2026 11:20:56 +0000 Subject: [PATCH] fix: revert BlendPlanarSurfaces test changes (broke existing test) --- tests/curves/test_nurbs_operations.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/curves/test_nurbs_operations.cpp b/tests/curves/test_nurbs_operations.cpp index fd0289d..cf47922 100644 --- a/tests/curves/test_nurbs_operations.cpp +++ b/tests/curves/test_nurbs_operations.cpp @@ -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 } // ===========================================================================