Salome HOME
1) Add CMake files to the dist rules (make dist)
[tools/medcoupling.git] / src / MEDCoupling / Test / MEDCouplingBasicsTest2.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 // Author : Anthony Geay (CEA/DEN)
20
21 #ifndef __MEDCOUPLINGBASICSTEST2_HXX__
22 #define __MEDCOUPLINGBASICSTEST2_HXX__
23
24 #include "MEDCouplingBasicsTest.hxx"
25
26 #include <map>
27 #include <vector>
28
29 namespace ParaMEDMEM
30 {
31   class DataArrayDouble;
32   class MEDCouplingUMesh;
33   class MEDCouplingFieldDouble;
34   class MEDCouplingMultiFields;
35
36   class MEDCouplingBasicsTest2 : public MEDCouplingBasicsTest
37   {
38     CPPUNIT_TEST_SUITE(MEDCouplingBasicsTest2);
39     CPPUNIT_TEST( testGaussPointField1 );
40     CPPUNIT_TEST( testGaussPointNEField1 );
41     CPPUNIT_TEST( testCellOrientation1 );
42     CPPUNIT_TEST( testCellOrientation2 );
43     CPPUNIT_TEST( testPolyhedronBarycenter );
44     CPPUNIT_TEST( testNormL12Integ1D );
45     CPPUNIT_TEST( testAreaBary2D );
46     CPPUNIT_TEST( testAreaBary3D );
47     CPPUNIT_TEST( testRenumberCellsForFields );
48     CPPUNIT_TEST( testRenumberNodesForFields );
49     CPPUNIT_TEST( testConvertQuadraticCellsToLinear );
50     CPPUNIT_TEST( testCheckGeoEquivalWith );
51     CPPUNIT_TEST( testCheckGeoEquivalWith2 );
52     CPPUNIT_TEST( testCopyTinyStringsFromOnFields );
53     CPPUNIT_TEST( testTryToShareSameCoordsPermute );
54     CPPUNIT_TEST( testTryToShareSameCoordsPermute2 );
55     CPPUNIT_TEST( testChangeUnderlyingMesh1 );
56     CPPUNIT_TEST( testGetMaxValue1 );
57     CPPUNIT_TEST( testSubstractInPlaceDM1 );
58     CPPUNIT_TEST( testDotCrossProduct1 );
59     CPPUNIT_TEST( testMinMaxFields1 );
60     CPPUNIT_TEST( testApplyLin1 );
61     CPPUNIT_TEST( testGetIdsInRange1 );
62     CPPUNIT_TEST( testBuildSubPart1 );
63     CPPUNIT_TEST( testDoublyContractedProduct1 );
64     CPPUNIT_TEST( testDeterminant1 );
65     CPPUNIT_TEST( testEigenValues1 );
66     CPPUNIT_TEST( testEigenVectors1 );
67     CPPUNIT_TEST( testInverse1 );
68     CPPUNIT_TEST( testTrace1 );
69     CPPUNIT_TEST( testDeviator1 );
70     CPPUNIT_TEST( testMagnitude1 );
71     CPPUNIT_TEST( testMaxPerTuple1 );
72     CPPUNIT_TEST( testChangeNbOfComponents );
73     CPPUNIT_TEST( testSortPerTuple1 );
74     CPPUNIT_TEST( testIsEqualWithoutConsideringStr1 );
75     CPPUNIT_TEST( testGetNodeIdsOfCell1 );
76     CPPUNIT_TEST( testGetEdgeRatioField1 );
77     CPPUNIT_TEST( testFillFromAnalytic3 );
78     CPPUNIT_TEST( testFieldDoubleOpEqual1 );
79     CPPUNIT_TEST( testAreaBary3D2 );
80     CPPUNIT_TEST_SUITE_END();
81   public:
82     void testGaussPointField1();
83     void testGaussPointNEField1();
84     void testCellOrientation1();
85     void testCellOrientation2();
86     void testPolyhedronBarycenter();
87     void testNormL12Integ1D();
88     void testAreaBary2D();
89     void testAreaBary3D();
90     void testRenumberCellsForFields();
91     void testRenumberNodesForFields();
92     void testConvertQuadraticCellsToLinear();
93     void testCheckGeoEquivalWith();
94     void testCheckGeoEquivalWith2();
95     void testCopyTinyStringsFromOnFields();
96     void testTryToShareSameCoordsPermute();
97     void testTryToShareSameCoordsPermute2();
98     void testChangeUnderlyingMesh1();
99     void testGetMaxValue1();
100     void testSubstractInPlaceDM1();
101     void testDotCrossProduct1();
102     void testMinMaxFields1();
103     void testApplyLin1();
104     void testGetIdsInRange1();
105     void testBuildSubPart1();
106     void testDoublyContractedProduct1();
107     void testDeterminant1();
108     void testEigenValues1();
109     void testEigenVectors1();
110     void testInverse1();
111     void testTrace1();
112     void testDeviator1();
113     void testMagnitude1();
114     void testMaxPerTuple1();
115     void testChangeNbOfComponents();
116     void testSortPerTuple1();
117     void testIsEqualWithoutConsideringStr1();
118     void testGetNodeIdsOfCell1();
119     void testGetEdgeRatioField1();
120     void testFillFromAnalytic3();
121     void testFieldDoubleOpEqual1();
122     void testAreaBary3D2();
123   };
124 }
125
126 #endif