Salome HOME
Merge remote-tracking branch 'remotes/origin/CEA_2020_Lot2_1'
[modules/shaper.git] / src / FeaturesPlugin / Test / TestPointCoordinates.py
index 8b5c5b95492d547730b876b2dac9c6f500c758d9..f2b03fe92b7202f9b4211d483f7d09e819829fde 100644 (file)
@@ -43,13 +43,13 @@ def test_point_coordinates():
     Part_1_doc = Part_1.document()
     Import_1 = model.addImport(Part_1_doc,file_path)
     model.do()
-    
+
     myDelta = 1e-6
     coordinates = model.getPointCoordinates(Part_1_doc,model.selection("VERTEX", "[box1_1/Shape_2][box1_1/Shape_3][box1_1/Shape_6]"))
 
     print(" x: ", coordinates[0])
     print(" y: ", coordinates[1])
-    print(" z: ", coordinates[2]) 
+    print(" z: ", coordinates[2])
 
     aRef = 200
     aRes = coordinates[0]
@@ -63,11 +63,11 @@ def test_point_coordinates():
     aRes = coordinates[2]
     assert (math.fabs(aRes - aRef) < myDelta), "The coordinate Z is wrong: expected = {0}, real = {1}".format(aRef, aRes)
 
-    
+
 if __name__ == '__main__':
 
     test_point_coordinates()
-        
+
     #=========================================================================
     # End of test
     #=========================================================================