Salome HOME
Merge from V6_main_20120808 08Aug12
[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
20 #ifndef __MEDCOUPLINGBASICSTEST2_HXX__
21 #define __MEDCOUPLINGBASICSTEST2_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 MEDCouplingBasicsTest2 : public MEDCouplingBasicsTest
36   {
37     CPPUNIT_TEST_SUITE(MEDCouplingBasicsTest2);
38     CPPUNIT_TEST( testGaussPointField1 );
39     CPPUNIT_TEST( testGaussPointNEField1 );
40     CPPUNIT_TEST( testCellOrientation1 );
41     CPPUNIT_TEST( testCellOrientation2 );
42     CPPUNIT_TEST( testPolyhedronBarycenter );
43     CPPUNIT_TEST( testNormL12Integ1D );
44     CPPUNIT_TEST( testAreaBary2D );
45     CPPUNIT_TEST( testAreaBary3D );
46     CPPUNIT_TEST( testRenumberCellsForFields );
47     CPPUNIT_TEST( testRenumberNodesForFields );
48     CPPUNIT_TEST( testConvertQuadraticCellsToLinear );
49     CPPUNIT_TEST( testCheckGeoEquivalWith );
50     CPPUNIT_TEST( testCheckGeoEquivalWith2 );
51     CPPUNIT_TEST( testCopyTinyStringsFromOnFields );
52     CPPUNIT_TEST( testTryToShareSameCoordsPermute );
53     CPPUNIT_TEST( testTryToShareSameCoordsPermute2 );
54     CPPUNIT_TEST( testChangeUnderlyingMesh1 );
55     CPPUNIT_TEST( testGetMaxValue1 );
56     CPPUNIT_TEST( testSubstractInPlaceDM1 );
57     CPPUNIT_TEST( testDotCrossProduct1 );
58     CPPUNIT_TEST( testMinMaxFields1 );
59     CPPUNIT_TEST( testApplyLin1 );
60     CPPUNIT_TEST( testGetIdsInRange1 );
61     CPPUNIT_TEST( testBuildSubPart1 );
62     CPPUNIT_TEST( testDoublyContractedProduct1 );
63     CPPUNIT_TEST( testDeterminant1 );
64     CPPUNIT_TEST( testEigenValues1 );
65     CPPUNIT_TEST( testEigenVectors1 );
66     CPPUNIT_TEST( testInverse1 );
67     CPPUNIT_TEST( testTrace1 );
68     CPPUNIT_TEST( testDeviator1 );
69     CPPUNIT_TEST( testMagnitude1 );
70     CPPUNIT_TEST( testMaxPerTuple1 );
71     CPPUNIT_TEST( testChangeNbOfComponents );
72     CPPUNIT_TEST( testSortPerTuple1 );
73     CPPUNIT_TEST( testIsEqualWithoutConsideringStr1 );
74     CPPUNIT_TEST( testGetNodeIdsOfCell1 );
75     CPPUNIT_TEST( testGetEdgeRatioField1 );
76     CPPUNIT_TEST( testFillFromAnalytic3 );
77     CPPUNIT_TEST( testFieldDoubleOpEqual1 );
78     CPPUNIT_TEST( testAreaBary3D2 );
79     CPPUNIT_TEST_SUITE_END();
80   public:
81     void testGaussPointField1();
82     void testGaussPointNEField1();
83     void testCellOrientation1();
84     void testCellOrientation2();
85     void testPolyhedronBarycenter();
86     void testNormL12Integ1D();
87     void testAreaBary2D();
88     void testAreaBary3D();
89     void testRenumberCellsForFields();
90     void testRenumberNodesForFields();
91     void testConvertQuadraticCellsToLinear();
92     void testCheckGeoEquivalWith();
93     void testCheckGeoEquivalWith2();
94     void testCopyTinyStringsFromOnFields();
95     void testTryToShareSameCoordsPermute();
96     void testTryToShareSameCoordsPermute2();
97     void testChangeUnderlyingMesh1();
98     void testGetMaxValue1();
99     void testSubstractInPlaceDM1();
100     void testDotCrossProduct1();
101     void testMinMaxFields1();
102     void testApplyLin1();
103     void testGetIdsInRange1();
104     void testBuildSubPart1();
105     void testDoublyContractedProduct1();
106     void testDeterminant1();
107     void testEigenValues1();
108     void testEigenVectors1();
109     void testInverse1();
110     void testTrace1();
111     void testDeviator1();
112     void testMagnitude1();
113     void testMaxPerTuple1();
114     void testChangeNbOfComponents();
115     void testSortPerTuple1();
116     void testIsEqualWithoutConsideringStr1();
117     void testGetNodeIdsOfCell1();
118     void testGetEdgeRatioField1();
119     void testFillFromAnalytic3();
120     void testFieldDoubleOpEqual1();
121     void testAreaBary3D2();
122   };
123 }
124
125 #endif