]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/Test/TestImportImage_2.py
Salome HOME
Merge branch 'V9_8_BR'
[modules/shaper.git] / src / ExchangePlugin / Test / TestImportImage_2.py
index fa214c76bd038620329a28633b41d76f92e75309..9a4230f93920f4a26681d8e5e38846b7966f5486 100755 (executable)
@@ -74,6 +74,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 :
@@ -101,6 +104,9 @@ tol=1e-06
 assert(abs(dx-560) <= tol)
 assert(abs(dy-361.9) <= 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())
 
 
 # Close SALOME GUI