Salome HOME
71e3f4d598572e03423eb694e8942569c94421eb
[tools/medcoupling.git] / src / INTERP_KERNELTest / TestInterpKernel.cxx
1 // Copyright (C) 2007-2019  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, or (at your option) any later version.
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 #include "CppUnitTest.hxx"
21 #include "BBTreeTest.hxx"
22 #include "ExprEvalInterpTest.hxx"
23 #include "QuadraticPlanarInterpTest.hxx"
24 #include "SingleElementPlanarTests.hxx"
25 #include "TransformedTriangleIntersectTest.hxx"
26 #include "TransformedTriangleTest.hxx"
27 #include "UnitTetraIntersectionBaryTest.hxx"
28 #include "UnitTetra3D2DIntersectionTest.hxx"
29
30 #ifndef MEDCOUPLING_MICROMED
31 #include "HexaTests.hxx"
32 #include "InterpolationOptionsTest.hxx"
33 #include "MultiElement2DTests.hxx"
34 #include "MultiElementTetraTests.hxx"
35 #include "SingleElementTetraTests.hxx"
36 #include "ThreeDSurfProjectionTest.hxx"
37 #endif
38
39 using namespace INTERP_TEST;
40
41 //--- Registers the fixture into the 'registry'
42
43 CPPUNIT_TEST_SUITE_REGISTRATION( BBTreeTest );
44 CPPUNIT_TEST_SUITE_REGISTRATION( ExprEvalInterpTest );
45 CPPUNIT_TEST_SUITE_REGISTRATION( QuadraticPlanarInterpTest );
46 CPPUNIT_TEST_SUITE_REGISTRATION( SingleElementPlanarTests );
47 CPPUNIT_TEST_SUITE_REGISTRATION( TransformedTriangleIntersectTest );
48 CPPUNIT_TEST_SUITE_REGISTRATION( TransformedTriangleTest );
49 CPPUNIT_TEST_SUITE_REGISTRATION( UnitTetraIntersectionBaryTest );
50 CPPUNIT_TEST_SUITE_REGISTRATION( UnitTetra3D2DIntersectionTest );
51
52 #ifndef MEDCOUPLING_MICROMED
53 // These test suites need MEDLoader to load some test files:
54 CPPUNIT_TEST_SUITE_REGISTRATION( InterpolationOptionsTest );
55 CPPUNIT_TEST_SUITE_REGISTRATION( HexaTests );
56 CPPUNIT_TEST_SUITE_REGISTRATION( MultiElement2DTests );
57 CPPUNIT_TEST_SUITE_REGISTRATION( MultiElementTetraTests );
58 CPPUNIT_TEST_SUITE_REGISTRATION( SingleElementTetraTests );
59 CPPUNIT_TEST_SUITE_REGISTRATION( ThreeDSurfProjectionTest );
60 #endif
61 // --- generic Main program from KERNEL_SRC/src/Basics/Test
62
63 #include "BasicMainTest.hxx"