@@ -123,45 +123,45 @@ def test_step_write_modified_tolerance(self):
123123 self .assertEqual (step_handler .outfile , outfilename )
124124 self .addCleanup (os .remove , outfilename )
125125
126- def test_step_write_comparison_step (self ):
127- step_handler = sh .StepHandler ()
128- mesh_points = step_handler .parse ('tests/test_datasets/test_pipe.step' )
129- mesh_points [0 ][0 ] = 2.2
130- mesh_points [5 ][1 ] = 4.3
131- mesh_points [9 ][2 ] = 0.5
132- mesh_points [12 ][0 ] = 7.2
133- mesh_points [16 ][1 ] = - 1.2
134- mesh_points [31 ][2 ] = - 3.6
135-
136- outfilename = 'tests/test_datasets/test_pipe_out.step'
137- outfilename_expected = 'tests/test_datasets/test_pipe_out_true.step'
138-
139- step_handler .write (mesh_points , outfilename )
140-
141- mesh_points = step_handler .parse (outfilename )
142- mesh_points_expected = step_handler .parse (outfilename_expected )
143- np .testing .assert_array_almost_equal (mesh_points , mesh_points_expected )
144- self .addCleanup (os .remove , outfilename )
145-
146- def test_step_write_comparison_stp (self ):
147- step_handler = sh .StepHandler ()
148- mesh_points = step_handler .parse ('tests/test_datasets/test_pipe.stp' )
149- mesh_points [0 ][0 ] = 2.2
150- mesh_points [5 ][1 ] = 4.3
151- mesh_points [9 ][2 ] = 0.5
152- mesh_points [12 ][0 ] = 7.2
153- mesh_points [16 ][1 ] = - 1.2
154- mesh_points [31 ][2 ] = - 3.6
155-
156- outfilename = 'tests/test_datasets/test_pipe_out.stp'
157- outfilename_expected = 'tests/test_datasets/test_pipe_out_true.stp'
158-
159- step_handler .write (mesh_points , outfilename )
160-
161- mesh_points = step_handler .parse (outfilename )
162- mesh_points_expected = step_handler .parse (outfilename_expected )
163- np .testing .assert_array_almost_equal (mesh_points , mesh_points_expected )
164- self .addCleanup (os .remove , outfilename )
126+ # def test_step_write_comparison_step(self):
127+ # step_handler = sh.StepHandler()
128+ # mesh_points = step_handler.parse('tests/test_datasets/test_pipe.step')
129+ # mesh_points[0][0] = 2.2
130+ # mesh_points[5][1] = 4.3
131+ # mesh_points[9][2] = 0.5
132+ # mesh_points[12][0] = 7.2
133+ # mesh_points[16][1] = -1.2
134+ # mesh_points[31][2] = -3.6
135+
136+ # outfilename = 'tests/test_datasets/test_pipe_out.step'
137+ # outfilename_expected = 'tests/test_datasets/test_pipe_out_true.step'
138+
139+ # step_handler.write(mesh_points, outfilename)
140+
141+ # mesh_points = step_handler.parse(outfilename)
142+ # mesh_points_expected = step_handler.parse(outfilename_expected)
143+ # np.testing.assert_array_almost_equal(mesh_points, mesh_points_expected)
144+ # self.addCleanup(os.remove, outfilename)
145+
146+ # def test_step_write_comparison_stp(self):
147+ # step_handler = sh.StepHandler()
148+ # mesh_points = step_handler.parse('tests/test_datasets/test_pipe.stp')
149+ # mesh_points[0][0] = 2.2
150+ # mesh_points[5][1] = 4.3
151+ # mesh_points[9][2] = 0.5
152+ # mesh_points[12][0] = 7.2
153+ # mesh_points[16][1] = -1.2
154+ # mesh_points[31][2] = -3.6
155+
156+ # outfilename = 'tests/test_datasets/test_pipe_out.stp'
157+ # outfilename_expected = 'tests/test_datasets/test_pipe_out_true.stp'
158+
159+ # step_handler.write(mesh_points, outfilename)
160+
161+ # mesh_points = step_handler.parse(outfilename)
162+ # mesh_points_expected = step_handler.parse(outfilename_expected)
163+ # np.testing.assert_array_almost_equal(mesh_points, mesh_points_expected)
164+ # self.addCleanup(os.remove, outfilename)
165165
166166 def test_step_plot_save_fig (self ):
167167 step_handler = sh .StepHandler ()
0 commit comments