test: add reproducible FreeCAD golden oracle
This commit is contained in:
20
fixtures/freecad-golden/scenarios/part-box.json
Normal file
20
fixtures/freecad-golden/scenarios/part-box.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "part-box",
|
||||
"category": "Part",
|
||||
"description": "Axis-aligned 10 x 20 x 30 mm box",
|
||||
"operation": { "type": "box", "length": 10, "width": 20, "height": 30 },
|
||||
"tolerance": { "linear": 1e-7, "scalar": 1e-7 },
|
||||
"expected": {
|
||||
"shapeType": "Solid",
|
||||
"isNull": false,
|
||||
"isValid": true,
|
||||
"solids": 1,
|
||||
"faces": 6,
|
||||
"edges": 12,
|
||||
"vertices": 8,
|
||||
"volume": 6000,
|
||||
"area": 2200,
|
||||
"boundingBox": { "min": [0, 0, 0], "max": [10, 20, 30] }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user