We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caa0c4f commit 10e553dCopy full SHA for 10e553d
test/core_wrapper_features_unittest.py
@@ -38,6 +38,7 @@
38
from OCC.BRepGProp import brepgprop_LinearProperties
39
from OCC.ShapeAnalysis import ShapeAnalysis_Curve
40
from OCC.BRep import BRep_Builder
41
+from OCC.ChFiDS import ChFiDS_ChamfSpine
42
43
44
class TestWrapperFeatures(unittest.TestCase):
@@ -223,6 +224,14 @@ def testTopoDS_byref_arguments(self):
223
224
for child in [cyl1, cyl2]:
225
bb.Add(c, child)
226
227
+ def test_standard_boolean_byref(self):
228
+ '''
229
+ Test byref returned standard_boolean
230
231
+ cs = ChFiDS_ChamfSpine()
232
+ cs.SetDistAngle(1., 45, True)
233
+ assert cs.GetDistAngle() == (1.0, 45.0, True)
234
+
235
def test_dump_to_string(self):
236
'''
237
Checks if the pickle python module works for TopoDS_Shapes
0 commit comments