Salome HOME
Merge remote-tracking branch 'remotes/origin/CEA_2020_Lot2_1'
[modules/shaper.git] / src / FeaturesPlugin / Test / TestBoundingBox.py
index 49f90f8e06854893c03dd687b7ccbddf5eaf13ff..dba0e1b2f019ff6b8ec9427ddcdfc5a5501ed0cb 100644 (file)
@@ -36,7 +36,7 @@ __updated__ = "2020-11-12"
 
 
 #=========================================================================
-# test Bounding Box  
+# test Bounding Box
 #=========================================================================
 def test_Bounding_Box():
 
@@ -58,8 +58,8 @@ def test_Bounding_Box():
     print(" Basic Properties:")
     print(" Wires length: ", Props[0])
     print(" Surface area: ", Props[1])
-    print(" Volume      : ", Props[2]) 
-    
+    print(" Volume      : ", Props[2])
+
     aReflength = 200
     aReslength = Props[0]
     assert (math.fabs(aReslength - aReflength) < myDelta), "The surface is wrong: expected = {0}, real = {1}".format(aReflength, aReslength)
@@ -72,11 +72,11 @@ def test_Bounding_Box():
     aResVolume = Props[2]
     assert (math.fabs(aResVolume - aRefVolume) < myDelta), "The volume is wrong: expected = {0}, real = {1}".format(aRefVolume, aResVolume)
 
-    
+
 if __name__ == '__main__':
 
     test_Bounding_Box()
-        
+
     #=========================================================================
     # End of test
     #=========================================================================