Salome HOME
Add copyright header according to request of CEA from 06.06.2017
[modules/shaper.git] / test.API / SHAPER / GDML / TestAPI_ConeSegment.py
index 219cb9e09446bea66c2eb58fa3cdad783c021cdd..fde6fef284291a73332b94f4fea20d7c509ba248 100644 (file)
@@ -1,7 +1,23 @@
-"""
-Test case for GDML Cone Segment feature. 
-Written on Shape API.
-"""
+## Copyright (C) 2014-2017  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, 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
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+## Lesser General Public License for more details.
+##
+## You should have received a copy of the GNU Lesser General Public
+## License along with this library; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+## See http:##www.salome-platform.org/ or
+## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+##
+
 from GeomAlgoAPI import GeomAlgoAPI_ShapeAPI as shaperpy
 from GeomAlgoAPI import GeomAlgoAPI_Exception as myExcept
 from GeomAPI import GeomAPI_Pnt as pnt
@@ -52,4 +68,4 @@ except myExcept,ec:
 try :
     CS15 = shaperpy.makeConeSegment(7.,11.,5.,8.,12.,45.,450.)
 except myExcept,ec:
-    assert(ec.what() == "Cone Segment builder :: deltaphi is larger than 360 degree.")
+    assert(ec.what() == "Cone Segment builder :: deltaphi is larger than 360 degree.")
\ No newline at end of file