Salome HOME
6cea32d74735e39d30516346e13cb137acb77987
[modules/med.git] / src / MEDCoupling / Test / MEDCouplingBasicsTest1.hxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef __MEDCOUPLINGBASICSTEST1_HXX__
21 #define __MEDCOUPLINGBASICSTEST1_HXX__
22
23 #include "MEDCouplingBasicsTest.hxx"
24
25 #include <map>
26 #include <vector>
27
28 namespace ParaMEDMEM
29 {
30   class DataArrayDouble;
31   class MEDCouplingUMesh;
32   class MEDCouplingFieldDouble;
33   class MEDCouplingMultiFields;
34
35   class MEDCouplingBasicsTest1 : public MEDCouplingBasicsTest
36   {
37     CPPUNIT_TEST_SUITE(MEDCouplingBasicsTest1);
38     CPPUNIT_TEST( testArray );
39     CPPUNIT_TEST( testArray2 );
40     CPPUNIT_TEST( testArray3 );
41     CPPUNIT_TEST( testMesh );
42     CPPUNIT_TEST( testMeshPointsCloud );
43     CPPUNIT_TEST( testMeshM1D );
44     CPPUNIT_TEST( testDeepCopy );
45     CPPUNIT_TEST( testRevNodal );
46     CPPUNIT_TEST( testConvertToPolyTypes );
47     CPPUNIT_TEST( testDescConn2D );
48     CPPUNIT_TEST( testDescConn3D );
49     CPPUNIT_TEST( testFindBoundaryNodes );
50     CPPUNIT_TEST( testBoundaryMesh );
51     CPPUNIT_TEST( testBuildPartOfMySelf );
52     CPPUNIT_TEST( testBuildPartOfMySelfNode );
53     CPPUNIT_TEST( testZipCoords );
54     CPPUNIT_TEST( testZipConnectivity );
55     CPPUNIT_TEST( testEqualMesh );
56     CPPUNIT_TEST( testEqualFieldDouble );
57     CPPUNIT_TEST( testNatureChecking );
58     CPPUNIT_TEST( testBuildSubMeshData );
59     CPPUNIT_TEST( testExtrudedMesh1 );
60     CPPUNIT_TEST( testExtrudedMesh2 );
61     CPPUNIT_TEST( testExtrudedMesh3 );
62     CPPUNIT_TEST( testExtrudedMesh4 );
63     CPPUNIT_TEST( testFindCommonNodes );
64     CPPUNIT_TEST( testCheckButterflyCells );
65     CPPUNIT_TEST( testMergeMesh1 );
66     CPPUNIT_TEST( testMergeMeshOnSameCoords1 );
67     CPPUNIT_TEST( testMergeField1 );
68     CPPUNIT_TEST( testFillFromAnalytic );
69     CPPUNIT_TEST( testFillFromAnalytic2 );
70     CPPUNIT_TEST( testApplyFunc );
71     CPPUNIT_TEST( testApplyFunc2 );
72     CPPUNIT_TEST( testOperationsOnFields );
73     CPPUNIT_TEST( testOperationsOnFields2 );
74     CPPUNIT_TEST( testOperationsOnFields3 );
75     CPPUNIT_TEST( testOperationsOnFields4 );
76     CPPUNIT_TEST( testMergeNodesOnField );
77     CPPUNIT_TEST( testCheckConsecutiveCellTypes );
78     CPPUNIT_TEST( testRearrange2ConsecutiveCellTypes );
79     CPPUNIT_TEST( testSplitByType );
80     CPPUNIT_TEST( testFuseUMeshesOnSameCoords );
81     CPPUNIT_TEST( testFuseUMeshesOnSameCoords2 );
82     CPPUNIT_TEST( testBuildOrthogonalField );
83     CPPUNIT_TEST( testGetCellsContainingPoint );
84     CPPUNIT_TEST( testGetValueOn1 );
85     CPPUNIT_TEST( testCMesh0 );
86     CPPUNIT_TEST( testCMesh1 );
87     CPPUNIT_TEST( testCMesh2 );
88     CPPUNIT_TEST( testScale );
89     CPPUNIT_TEST( testTryToShareSameCoords );
90     CPPUNIT_TEST( testFindNodeOnPlane );
91     CPPUNIT_TEST( testRenumberCells );
92     CPPUNIT_TEST( testChangeSpaceDimension );
93     CPPUNIT_TEST_SUITE_END();
94   public:
95     void testArray();
96     void testArray2();
97     void testArray3();
98     void testMesh();
99     void testMeshPointsCloud();
100     void testMeshM1D();
101     void testDeepCopy();
102     void testRevNodal();
103     void testConvertToPolyTypes();
104     void testDescConn2D();
105     void testDescConn3D();
106     void testFindBoundaryNodes();
107     void testBoundaryMesh();
108     void testBuildPartOfMySelf();
109     void testBuildPartOfMySelfNode();
110     void testZipCoords();
111     void testZipConnectivity();
112     void testEqualMesh();
113     void testEqualFieldDouble();
114     void testNatureChecking();
115     void testBuildSubMeshData();
116     void testExtrudedMesh1();
117     void testExtrudedMesh2();
118     void testExtrudedMesh3();
119     void testExtrudedMesh4();
120     void testFindCommonNodes();
121     void testCheckButterflyCells();
122     void testMergeMesh1();
123     void testMergeMeshOnSameCoords1();
124     void testMergeField1();
125     void testFillFromAnalytic();
126     void testFillFromAnalytic2();
127     void testApplyFunc();
128     void testApplyFunc2();
129     void testOperationsOnFields();
130     void testOperationsOnFields2();
131     void testOperationsOnFields3();
132     void testOperationsOnFields4();
133     void testMergeNodesOnField();
134     void testCheckConsecutiveCellTypes();
135     void testRearrange2ConsecutiveCellTypes();
136     void testSplitByType();
137     void testFuseUMeshesOnSameCoords();
138     void testFuseUMeshesOnSameCoords2();
139     void testBuildOrthogonalField();
140     void testGetCellsContainingPoint();
141     void testGetValueOn1();
142     void testCMesh0();
143     void testCMesh1();
144     void testCMesh2();
145     void testScale();
146     void testTryToShareSameCoords();
147     void testFindNodeOnPlane();
148     void testRenumberCells();
149     void testChangeSpaceDimension();
150   };
151 }
152
153 #endif