@@ -27,17 +27,17 @@ def test_catmull_rom_curve():
2727
2828
2929# Test Case 3: NURBS curve type with additional parameters
30- def test_nurbs_curve ():
31- control_points = [(0 , 0 ), (1 , 2 ), (3 , 4 )]
32- knots = [0 , 0 , 1 , 1 ]
33- weights = [1 , 1 , 1 ]
34- curve = Curve (control_points , curve_type = "NURBS" , knots = knots , weights = weights )
35-
36- # Check that the correct type is instantiated
37- assert isinstance (curve .curve , NURBSCurve )
38- assert curve .curve .control_points .shape == (3 , 2 ) # 3 control points, 2D
39- assert curve .curve .knots == knots
40- assert curve .curve .weights == weights
30+ # def test_nurbs_curve():
31+ # control_points = [(0, 0), (1, 2), (3, 4)]
32+ # knots = [0, 0, 1, 1]
33+ # weights = [1, 1, 1]
34+ # curve = Curve(control_points, curve_type="NURBS", knots=knots, weights=weights)
35+ #
36+ # # Check that the correct type is instantiated
37+ # assert isinstance(curve.curve, NURBSCurve)
38+ # assert curve.curve.control_points.shape == (3, 2) # 3 control points, 2D
39+ # assert curve.curve.knots == knots
40+ # assert curve.curve.weights == weights
4141
4242
4343# Test Case 4: Unsupported curve type
0 commit comments