X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FTEST_PY%2Ftest_unit%2Ftest_cross.py;h=e2cdf38096bd797049ec9fc04da1ec4d1703ff9d;hb=0ebe741f3ee8a69f147a5c02b41f33d3f3f02e0f;hp=21b977c669eaee0c165ca2803699131c8d808ba4;hpb=6924a056f811baefa30f31083b93b10f7dae3a35;p=modules%2Fhexablock.git diff --git a/src/TEST_PY/test_unit/test_cross.py b/src/TEST_PY/test_unit/test_cross.py index 21b977c..e2cdf38 100644 --- a/src/TEST_PY/test_unit/test_cross.py +++ b/src/TEST_PY/test_unit/test_cross.py @@ -1,10 +1,10 @@ # -*- coding: latin-1 -*- -# Copyright (C) 2009-2013 CEA/DEN, EDF R&D +# Copyright (C) 2009-2019 CEA/DEN, EDF R&D # # 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)