]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/Test/TestImportImage_1.py
Salome HOME
Merge branch 'V9_8_BR'
[modules/shaper.git] / src / ExchangePlugin / Test / TestImportImage_1.py
index 327caf623e2756ff506cb3254a2900e51c847c81..b26dcf5cdb709d0bd93f473edb0d8be5adab93d4 100755 (executable)
@@ -66,6 +66,9 @@ tol=1e-06
 assert(abs(dx-400) <= tol)
 assert(abs(dy-258.5) <= tol)
 assert(abs(dz-0) <= tol)
+assert(ImportImage_1.result().resultSubShapePair()[0].hasTexture())
+assert(Translation_1.result().resultSubShapePair()[0].hasTexture())
+assert(Scale_1.result().resultSubShapePair()[0].hasTexture())
 
 #=============================================================================
 # Change the image :
@@ -95,7 +98,11 @@ tol=1e-06
 assert(abs(dx-448) <= tol)
 assert(abs(dy-296.8) <= tol)
 assert(abs(dz-0) <= tol)
+assert(ImportImage_1.result().resultSubShapePair()[0].hasTexture())
+assert(Translation_1.result().resultSubShapePair()[0].hasTexture())
+assert(Scale_1.result().resultSubShapePair()[0].hasTexture())
 
+assert(model.checkPythonDump())
 
 # Close SALOME GUI
 import salome_utils