From b3df3dcd823f78f9b96ce33a24d85769d7c3d59c Mon Sep 17 00:00:00 2001 From: emv Date: Wed, 2 Sep 2020 14:29:50 +0300 Subject: [PATCH] 0026452: Infinite loop in Edge/Edge intersection. Integrating test case only as the problem is not reproduced anymore. --- tests/perf/modalg/bug26542 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/perf/modalg/bug26542 diff --git a/tests/perf/modalg/bug26542 b/tests/perf/modalg/bug26542 new file mode 100644 index 0000000000..4898e52960 --- /dev/null +++ b/tests/perf/modalg/bug26542 @@ -0,0 +1,23 @@ +puts "============" +puts "0026452: Infinite loop in Edge/Edge intersection" +puts "============" +puts "" + +restore [locate_data_file bug26452_edges.brep] e +explode e + +dchrono h restart +bfuse r1 e_1 e_2 +dchrono h stop counter COUNTER1 + +tcopy e_1 e1 +tcopy e_2 e2 + +dchrono h restart +bfuse r2 e1 e2 +dchrono h stop counter COUNTER2 + +checkprops r1 -l 78.3329 +checknbshapes r1 -vertex 3 -edge 2 +checkprops r2 -equal r1 +checknbshapes r2 -ref [nbshapes r1]