]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1763 Coincidence constraint lost after removing one of split lines. Test case...
authornds <nds@opencascade.com>
Tue, 29 Nov 2016 06:06:36 +0000 (09:06 +0300)
committernds <nds@opencascade.com>
Tue, 29 Nov 2016 06:06:36 +0000 (09:06 +0300)
src/SketchPlugin/Test/TestSplit.py

index d078e956acbfe6089c38b65eacb56dccefc626f4..82eacfbfd00aac5cb8fa2ff539b8e31f14187abb 100644 (file)
@@ -29,7 +29,7 @@ for index in range(Sketch_1_feature.numberOfSubs()):
 
 assert(idList.count(SketchLineId) == 2)
 assert(idList.count(SketchPointId) == 1)
-assert(idList.count(SketchConstraintCoincidenceId) == 2)
+assert(idList.count(SketchConstraintCoincidenceId) == 3)
 assert(idList.count(SketchConstraintParallelId) == 1)
 # Test end
 
@@ -50,7 +50,7 @@ for index in range(Sketch_2_feature.numberOfSubs()):
 
 assert(idList.count(SketchLineId) == 3)
 assert(idList.count(SketchPointId) == 2)
-assert(idList.count(SketchConstraintCoincidenceId) == 4)
+assert(idList.count(SketchConstraintCoincidenceId) == 6)
 assert(idList.count(SketchConstraintParallelId) == 2)
 # Test end
 
@@ -71,7 +71,7 @@ for index in range(Sketch_3_feature.numberOfSubs()):
 
 assert(idList.count(SketchArcId) == 2)
 assert(idList.count(SketchPointId) == 2)
-assert(idList.count(SketchConstraintCoincidenceId) == 4)
+assert(idList.count(SketchConstraintCoincidenceId) == 6)
 assert(idList.count(SketchConstraintTangentId) == 1)
 # Test end
 
@@ -93,7 +93,7 @@ for index in range(Sketch_4_feature.numberOfSubs()):
 
 assert(idList.count(SketchArcId) == 2)
 assert(idList.count(SketchPointId) == 1)
-assert(idList.count(SketchConstraintCoincidenceId) == 2)
+assert(idList.count(SketchConstraintCoincidenceId) == 3)
 assert(idList.count(SketchConstraintEqualId) == 1)
 assert(idList.count(SketchConstraintTangentId) == 1)
 # Test end
@@ -119,7 +119,7 @@ for index in range(Sketch_5_feature.numberOfSubs()):
 
 assert(idList.count(SketchArcId) == 3)
 assert(idList.count(SketchPointId) == 0)
-assert(idList.count(SketchConstraintCoincidenceId) == 4)
+assert(idList.count(SketchConstraintCoincidenceId) == 6)
 assert(idList.count(SketchConstraintEqualId) == 2)
 assert(idList.count(SketchConstraintTangentId) == 2)
 # Test end