-// 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 );
CPPUNIT_TEST ( checkNonRegressionOmar0030 );
//
CPPUNIT_TEST( checkNormalize );
+ CPPUNIT_TEST( checkMakePartitionAbs1 );
CPPUNIT_TEST_SUITE_END();
public:
void setUp();
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);