Back to index

salome-med  6.5.0
SingleElementPlanarTests.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef __SINGLE_ELEMENT_PLANAR_TESTS_HXX_
00021 #define __SINGLE_ELEMENT_PLANAR_TESTS_HXX_ 
00022 
00023 #include "InterpKernelTestExport.hxx"
00024 #include "InterpolationPlanarTestSuite.hxx"
00025 
00026 namespace INTERP_TEST 
00027 {
00033   class INTERPKERNELTEST_EXPORT SingleElementPlanarTests : public InterpolationPlanarTestSuite
00034   {
00035     CPPUNIT_TEST_SUITE( SingleElementPlanarTests );
00036     
00037     CPPUNIT_TEST( diamondsBasic ); 
00038     CPPUNIT_TEST( tangentDiamonds );
00039     CPPUNIT_TEST( tangentSquares );
00040     CPPUNIT_TEST( diamondsSharingVertex1 );
00041     CPPUNIT_TEST( identicalSquares );
00042     CPPUNIT_TEST( squareAndDiamondBasic );
00043     CPPUNIT_TEST( squareAndDiamondCritical );
00044     CPPUNIT_TEST( diamondsCritical );
00045     CPPUNIT_TEST( quadranglesCritical );
00046     CPPUNIT_TEST( quadrangleAndDiamondCritical );
00047     CPPUNIT_TEST( diamondsCritical2 );
00048     CPPUNIT_TEST( hexagonsCritical1 );
00049     CPPUNIT_TEST( hexagonsCritical2 );
00050     CPPUNIT_TEST( squareAndQuadrangleCritical );
00051     CPPUNIT_TEST( diamondsSharingVertex2 );
00052     CPPUNIT_TEST( triangleAndDiamondCritical );
00053     CPPUNIT_TEST( triangleAndSquareBasic );
00054     CPPUNIT_TEST( trianglesCritical );
00055     CPPUNIT_TEST( paralellogramsCritical1 );
00056     CPPUNIT_TEST( paralellogramsCritical2 );
00057     CPPUNIT_TEST( trianglesTangencyCritical );
00058     CPPUNIT_TEST( trianglesTangencyCritical2 );
00059     CPPUNIT_TEST( trianglesTangencyCritical3 );
00060     CPPUNIT_TEST( trianglesTangencyCritical4 );
00061     CPPUNIT_TEST( diamondsBasic_Triangulation ); 
00062     CPPUNIT_TEST( tangentDiamonds_Triangulation );
00063     CPPUNIT_TEST( tangentSquares_Triangulation );
00064     CPPUNIT_TEST( diamondsSharingVertex1_Triangulation );
00065     CPPUNIT_TEST( identicalSquares_Triangulation );
00066     //CPPUNIT_TEST( squareAndDiamondBasic_Triangulation );
00067     //CPPUNIT_TEST( squareAndDiamondCritical_Triangulation );
00068     CPPUNIT_TEST( diamondsCritical_Triangulation );
00069     CPPUNIT_TEST( quadranglesCritical_Triangulation );
00070     CPPUNIT_TEST( quadrangleAndDiamondCritical_Triangulation );
00071     CPPUNIT_TEST( diamondsCritical2_Triangulation );
00072     CPPUNIT_TEST( hexagonsCritical1_Triangulation );
00073     CPPUNIT_TEST( hexagonsCritical2_Triangulation );
00074     CPPUNIT_TEST( squareAndQuadrangleCritical_Triangulation );
00075     CPPUNIT_TEST( diamondsSharingVertex2_Triangulation );
00076     CPPUNIT_TEST( triangleAndDiamondCritical_Triangulation );
00077     CPPUNIT_TEST( triangleAndSquareBasic_Triangulation );
00078     CPPUNIT_TEST( trianglesCritical_Triangulation );
00079     CPPUNIT_TEST( paralellogramsCritical1_Triangulation );
00080     CPPUNIT_TEST( paralellogramsCritical2_Triangulation );
00081     CPPUNIT_TEST( trianglesTangencyCritical_Triangulation );
00082     CPPUNIT_TEST( trianglesTangencyCritical2_Triangulation );
00083     CPPUNIT_TEST( trianglesTangencyCritical3_Triangulation );
00084     CPPUNIT_TEST( trianglesTangencyCritical4_Triangulation );
00085 
00086     CPPUNIT_TEST_SUITE_END();
00087     
00088   public:
00089 
00090     void diamondsBasic();
00091     void tangentDiamonds();
00092     void tangentSquares();
00093     void diamondsSharingVertex1();
00094     void identicalSquares();
00095     void squareAndDiamondBasic();
00096     void squareAndDiamondCritical();
00097     void diamondsCritical();
00098     void quadranglesCritical();  
00099     void quadrangleAndDiamondCritical();
00100     void diamondsCritical2();
00101     void hexagonsCritical1();
00102     void hexagonsCritical2();
00103     void squareAndQuadrangleCritical();
00104     void diamondsSharingVertex2();
00105     void triangleAndDiamondCritical();
00106     void triangleAndSquareBasic();
00107     void trianglesCritical();
00108     void paralellogramsCritical1();
00109     void paralellogramsCritical2();
00110     void trianglesTangencyCritical();
00111     void trianglesTangencyCritical2();
00112     void trianglesTangencyCritical3();
00113     void trianglesTangencyCritical4();
00114     void diamondsBasic_Triangulation();
00115     void tangentDiamonds_Triangulation(); 
00116     void tangentSquares_Triangulation();
00117     void diamondsSharingVertex1_Triangulation();
00118     void identicalSquares_Triangulation();
00119     void squareAndDiamondBasic_Triangulation();
00120     void squareAndDiamondCritical_Triangulation();
00121     void diamondsCritical_Triangulation();
00122     void quadranglesCritical_Triangulation();  
00123     void quadrangleAndDiamondCritical_Triangulation();
00124     void diamondsCritical2_Triangulation();
00125     void hexagonsCritical1_Triangulation();
00126     void hexagonsCritical2_Triangulation();
00127     void squareAndQuadrangleCritical_Triangulation();
00128     void diamondsSharingVertex2_Triangulation();
00129     void triangleAndDiamondCritical_Triangulation();
00130     void triangleAndSquareBasic_Triangulation();
00131     void trianglesCritical_Triangulation();
00132     void paralellogramsCritical1_Triangulation();
00133     void paralellogramsCritical2_Triangulation();
00134     void trianglesTangencyCritical_Triangulation();
00135     void trianglesTangencyCritical2_Triangulation();
00136     void trianglesTangencyCritical3_Triangulation();
00137     void trianglesTangencyCritical4_Triangulation();
00138   };
00139 }
00140 #endif