Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / src / INTERP_KERNELTest / QuadraticPlanarInterpTest.hxx
index da60159a8372a8c219ce9d9be44d1da64e12e119..8024a21ac68cd9a901cd7c14e6ffa8026a594d7e 100644 (file)
@@ -1,33 +1,36 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2012  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.
+// 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.
 //
-//  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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 #ifndef _QUADRATICPLANARINTERPTEST_HXX_
 #define _QUADRATICPLANARINTERPTEST_HXX_
 
 #include <cppunit/extensions/HelperMacros.h>
 
-namespace INTERP_KERNEL
-{
-  class Node;
-  class EdgeArcCircle;
-  class QuadraticPolygon;
+#include "InterpKernelTestExport.hxx"
+#include "InterpKernelGeo2DEdgeArcCircle.hxx"
+#include "InterpKernelGeo2DQuadraticPolygon.hxx"
 
-  class QuadraticPlanarInterpTest : public CppUnit::TestFixture
+using namespace INTERP_KERNEL;
+
+namespace INTERP_TEST
+{
+  class INTERPKERNELTEST_EXPORT QuadraticPlanarInterpTest : public CppUnit::TestFixture
   {
     CPPUNIT_TEST_SUITE( QuadraticPlanarInterpTest );
     CPPUNIT_TEST( ReadWriteInXfigElementary );
@@ -103,6 +106,7 @@ namespace INTERP_KERNEL
     CPPUNIT_TEST ( checkNonRegressionOmar0030 );
     //
     CPPUNIT_TEST( checkNormalize );
+    CPPUNIT_TEST( checkMakePartitionAbs1 );
     CPPUNIT_TEST_SUITE_END();
   public:  
     void setUp();
@@ -190,6 +194,7 @@ namespace INTERP_KERNEL
     void checkNonRegressionOmar0030();
     //
     void checkNormalize();
+    void checkMakePartitionAbs1();
   private:
     QuadraticPolygon *buildQuadraticPolygonCoarseInfo(const double *coords, const int *conn, int lgth);
     EdgeArcCircle *buildArcOfCircle(const double *center, double radius, double alphaStart, double alphaEnd);