Salome HOME
Issue #2560: Add Interpolation feature to Build plugin for creation a curve by the...
[modules/shaper.git] / src / BuildPlugin / Test / TestPolyline.py
index 7cca81463fe5b42daa73137411b6e809abf5a5ba..622523cfb61e4551e2ed95d6eff0f0529a8711f5 100644 (file)
@@ -130,12 +130,29 @@ model.do()
 model.checkBooleansResult(Polyline_8, model, 1, [0], [0], [0], [8], [8*2])
 
 # =============================================================================
-# Test 9. Check subshapes naming
+# Test 9. Create polyline using equal vertices
+# =============================================================================
+Part_4 = model.addPart(partSet)
+Part_4_doc = Part_4.document()
+
+Point_1 = model.addPoint(Part_4_doc, 0, 0, 0)
+Point_2 = model.addPoint(Part_4_doc, 0, 0, 0)
+P_1 = model.selection("VERTEX", "Point_1")
+P_2 = model.selection("VERTEX", "Point_2")
+
+# TODO uncomment
+#Polyline_9 = model.addPolyline3D(Part_4_doc, [P_1, P_2], False)
+#model.do()
+
+#model.testNbResults(Polyline_9, 0)
+
+# =============================================================================
+# Test 10. Check subshapes naming
 # =============================================================================
 model.testHaveNamingSubshapes(Polyline_1, model, Part_1_doc)
 model.end()
 
 # =============================================================================
-# Test 10. Check Python dump
+# Test 11. Check Python dump
 # =============================================================================
 assert(model.checkPythonDump())
\ No newline at end of file