Add parameterized profile test files and script to generate them

This commit is contained in:
aothms
2014-02-23 11:25:35 +00:00
parent 562210b862
commit 27e18386d2
3 changed files with 218 additions and 2 deletions
+14 -1
View File
@@ -206,6 +206,19 @@ TestFile("acad2010_objects.ifc")
# Various half space configuration to test cutting tolerances
TestFile("ifcopenshell_halfspaces.ifc")
# Several parameterized profile extrusions generated by one
# of the examples from the IfcOpenShell repository
TestFile("IfcCShapeProfileDef.ifc")
TestFile("IfcCircleProfileDef.ifc")
TestFile("IfcEllipseProfileDef.ifc")
TestFile("IfcIShapeProfileDef.ifc")
TestFile("IfcLShapeProfileDef.ifc")
TestFile("IfcRectangleProfileDef.ifc")
TestFile("IfcTShapeProfileDef.ifc")
TestFile("IfcTrapeziumProfileDef.ifc")
TestFile("IfcUShapeProfileDef.ifc")
TestFile("IfcZShapeProfileDef.ifc")
for test in test_cases:
succes = test()
if not succes:
@@ -217,4 +230,4 @@ if len(failed):
print (test)
else:
print("[Notice] All cases succeeded")