Salome HOME
Copyright update 2021
[tools/medcoupling.git] / src / INTERP_KERNELTest / BBTreeTest.hxx
1 // Copyright (C) 2007-2021  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 #ifndef __TU_BB_TREE_HXX__
21 #define __TU_BB_TREE_HXX__
22
23 #include <cppunit/extensions/HelperMacros.h>
24
25 #include "InterpKernelTestExport.hxx"
26 #include "BBTree.txx"
27
28 namespace INTERP_TEST
29 {
30
31   /**
32    * \brief Test suite testing some of the low level methods of TransformedTriangle.
33    *
34    */
35   class INTERPKERNELTEST_EXPORT BBTreeTest : public CppUnit::TestFixture
36   {
37
38     CPPUNIT_TEST_SUITE( BBTreeTest );
39     CPPUNIT_TEST( test_BBTree );
40     CPPUNIT_TEST( test_DirectedBB_1D );
41     CPPUNIT_TEST( test_DirectedBB_2D );
42     CPPUNIT_TEST( test_DirectedBB_3D );
43     CPPUNIT_TEST_SUITE_END();
44
45    
46   public:
47     void setUp();
48
49     void tearDown();
50
51     // tests
52     void test_BBTree();
53     void test_DirectedBB_1D();
54     void test_DirectedBB_2D();
55     void test_DirectedBB_3D();
56
57   };
58
59
60
61
62 }
63
64
65
66 #endif