From 87cf7029c39a290b2adc5a4ec0494d1f3f2bb5b5 Mon Sep 17 00:00:00 2001 From: dpasukhi Date: Sun, 13 Sep 2020 11:35:47 +0300 Subject: [PATCH] 0025440: Data Exchange - STEP file with Japanese unicode symbols cannot be read Add a test case to verify that the .STEP is read correctly --- tests/bugs/step/bug25440 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/bugs/step/bug25440 diff --git a/tests/bugs/step/bug25440 b/tests/bugs/step/bug25440 new file mode 100644 index 0000000000..c316249c72 --- /dev/null +++ b/tests/bugs/step/bug25440 @@ -0,0 +1,15 @@ +puts "========================" +puts "0025440: Data Exchange - STEP file with Japanese unicode symbols cannot be read" +puts "========================" + +# Read file +stepread [locate_data_file bug25440_Assy.stp] res * + +# Checking +set state [data c] +if { [regexp "1350 Entities, of which 58 Root" $state] != 1 } { + puts "Error : wrong count of transferred roots" +} + +checknbshapes res_1 -face 35 -shell 1 -solid 1 +checkshape res_1 f -- 2.39.5