Salome HOME
cf2cf1b958b42163e3d735a8387804c59f4309e8
[modules/med.git] / src / MEDCalculator / Test / MEDCalculatorBasicsTest.hxx
1 // Copyright (C) 2007-2023  CEA, EDF
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 // Author : Anthony Geay (CEA/DEN)
20
21 #ifndef __MEDCALCULATORBASICSTEST_HXX__
22 #define __MEDCALCULATORBASICSTEST_HXX__
23
24 #include <cppunit/extensions/HelperMacros.h>
25
26 namespace MEDCoupling
27 {
28   class MEDCalculatorBasicsTest : public CppUnit::TestFixture
29   {
30     CPPUNIT_TEST_SUITE(MEDCalculatorBasicsTest);
31     // CPPUNIT_TEST( testLightStruct1 );
32     // CPPUNIT_TEST( testRangeSelection1 );
33     CPPUNIT_TEST( testDBField1 );
34     CPPUNIT_TEST( testSPython1 );
35     CPPUNIT_TEST( testSPython2 );
36     CPPUNIT_TEST( testSPython3 );
37     CPPUNIT_TEST_SUITE_END();
38   public:
39     void testLightStruct1();
40     void testRangeSelection1();
41     void testDBField1();
42     void testSPython1();
43     void testSPython2();
44     void testSPython3();
45   private:
46     static void generateAFile1(const char *fName);
47   };
48 }
49
50 #endif