0028228: Provide possibility to keep the given edges during unification of faces...
[occt.git] / tests / heal / unify_same_domain / A2
diff --git a/tests/heal/unify_same_domain/A2 b/tests/heal/unify_same_domain/A2
new file mode 100644 (file)
index 0000000..6b8b3ee
--- /dev/null
@@ -0,0 +1,19 @@
+puts "=========="
+puts "OCC28228"
+puts "=========="
+puts ""
+######################################################################################################################
+# Provide possibility to keep the given edges during unification of faces in ShapeUpgrade_UnifySameDomain algorithm
+######################################################################################################################
+
+restore [locate_data_file bug28228_face_circle.brep] a
+
+explode a e
+
+unifysamedom result1 a a_5
+checknbshapes result1 -face 3 -edge 9 -vertex 6
+
+unifysamedom result a
+checknbshapes result -face 1 -edge 2 -vertex 2
+
+checkview -display result -2d -path ${imagedir}/${test_image}.png
\ No newline at end of file