From 5163f4671951fa3929e2814b7765a9956ef6cec5 Mon Sep 17 00:00:00 2001 From: mkv Date: Tue, 4 Aug 2015 16:49:10 +0300 Subject: [PATCH] 0026442: Access violation in BRepOffset_MakeOffset Test cases for issue CR26442 --- tests/bugs/modalg_6/bug26442_1 | 17 +++++++++++++++++ tests/bugs/modalg_6/bug26442_2 | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 tests/bugs/modalg_6/bug26442_1 create mode 100644 tests/bugs/modalg_6/bug26442_2 diff --git a/tests/bugs/modalg_6/bug26442_1 b/tests/bugs/modalg_6/bug26442_1 new file mode 100644 index 0000000000..9488e87453 --- /dev/null +++ b/tests/bugs/modalg_6/bug26442_1 @@ -0,0 +1,17 @@ +puts "=========" +puts "OCC26442" +puts "=========" +puts "" +############################################### +# Access violation in BRepOffset_MakeOffset +############################################### + +restore [locate_data_file OCC26464-extracted_Plate5520contour.brep] sh + +offsetparameter 1.e-7 p i +offsetload sh 40 +offsetperform result + +checkshape result + +set 2dviewer 1 diff --git a/tests/bugs/modalg_6/bug26442_2 b/tests/bugs/modalg_6/bug26442_2 new file mode 100644 index 0000000000..0f155d079f --- /dev/null +++ b/tests/bugs/modalg_6/bug26442_2 @@ -0,0 +1,17 @@ +puts "=========" +puts "OCC26442" +puts "=========" +puts "" +############################################### +# Access violation in BRepOffset_MakeOffset +############################################### + +restore [locate_data_file OCC26464-extracted_Plate5520contour.brep] sh + +offsetparameter 1.e-7 p i +offsetload sh 60 +offsetperform result + +checkshape result + +set 2dviewer 1