1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-07 18:30:55 +03:00
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- Added function checkprops, set default tolerance parameter to 1.0e-4
- Using "area" instead of "square".
- Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases.
- Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1)
- Corrected test cases to use checkprops proc.
- Correct image difference
- Updated TODOs in test cases.
- Updated test cases to get correct images of result shape
2015-12-10 16:56:03 +03:00

38 lines
511 B
Plaintext

## MFA's collection of bugs
vertex v1 0 0 0
vertex v2 9 0 0
vertex v3 9 0 3
vertex v4 6.25 0 3
vertex v5 6 0 4
vertex v6 0 0 4
edge ea v1 v2
edge eb v2 v3
edge ec v3 v4
edge ed v4 v5
edge ee v5 v6
edge ef v6 v1
wire wa ea eb ec ed ee ef
mkplane pa wa
revol cyla pa 0 0 0 0 0 1 360
pcylinder cylb 1 9
## CASE 1 FAILS
ttranslate cylb 5 0 -2
## CASE 2 OK
#trotate cylb cylb 0 0 0 0 0 1 45
#ttranslate cylb 5 0 -2
## CASE 3 OK
#ttranslate cylb 0 5 -2
bfuse result cyla cylb
checkprops result -s 740.048