Commit 6525a0dc authored by stevet's avatar stevet
Browse files

bezier 4 with bezier 3 does not make sense

parent 1811aa97
Pipeline #13146 failed with stage
in 3 minutes and 39 seconds
......@@ -192,17 +192,6 @@ class TestCurves(unittest.TestCase):
b.loadFromText("serialization_curve.test")
self.assertTrue((a(0.4) == b(0.4)).all())
os.remove("serialization_curve.test")
# Bezier dim 4
waypoints = matrix([[1., 2., 3., 4.]]).T
a = bezier3(waypoints, 0., 2.)
# Test serialization : bezier of dim 4
a.saveAsText("serialization_curve.test")
# waypoints = matrix([[0,0,0,], [0,0,0,]]).transpose()
b = bezier3()
b.loadFromText("serialization_curve.test")
self.assertTrue((a(0.4) == b(0.4)).all())
os.remove("serialization_curve.test")
return
def test_polynomial(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment