Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / TEST_PY / test_unit / test_cross.py
index 21b977c669eaee0c165ca2803699131c8d808ba4..0b5067236736fd6ab135f18102bd138c0b1ee189 100644 (file)
@@ -1,10 +1,10 @@
 # -*- coding: latin-1 -*-
-# Copyright (C) 2009-2013  CEA/DEN, EDF R&D
+# Copyright (C) 2009-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,7 +22,6 @@
 
 import hexablock
 import os
-import geompy
 
 #---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
 
@@ -65,7 +64,7 @@ def test_croix () :
 
     nr1 = 2
     nl1 = 10
-    nr2 = 1
+    nr2 = 1.8
     nl2 = 10
 
     cyl1 = doc.addCylinder (ori1, vz, nr1, nl1)
@@ -78,8 +77,9 @@ def test_croix () :
 
 # ================================================================= Begin
 
-doc = test_pipes  ()
-doc.setLevel (747)
+## doc = test_pipes  ()
+doc = test_croix  ()
+## doc.setLevel (747)
 
 law = doc.addLaw("Uniform", 4)