Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check result of Compute() in test and examples
[modules/smesh.git]
/
test
/
SMESH_freebord.py
diff --git
a/test/SMESH_freebord.py
b/test/SMESH_freebord.py
index 90e2f1226258b345e208623dcdc732d433d079f4..bee8167c260be54c8975248beec55ae88da51e7e 100644
(file)
--- a/
test/SMESH_freebord.py
+++ b/
test/SMESH_freebord.py
@@
-59,8
+59,9
@@
algoMef = mesh.Triangle()
hypArea = algoMef.MaxElementArea(20)
-mesh.Compute()
-
+isDone = mesh.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Criterion : Free edges. Create group.