source: molecuilder/src/tesselationunittest.hpp@ 3746440

Last change on this file since 3746440 was f2dfc5, checked in by Frederik Heber <heber@…>, 16 years ago

Added Tesselation unit test

  • new file tesselationunittest with simple tetraeder UnitTest for checking IsInnerPoint()
  • added to Makefile.am
  • Property mode set to 100644
File size: 883 bytes
Line 
1/*
2 * tesselationunittest.hpp
3 *
4 * Created on: Aug 26, 2009
5 * Author: heber
6 */
7
8#ifndef TESSELATIONUNITTEST_HPP_
9#define TESSELATIONUNITTEST_HPP_
10
11
12#include <cppunit/extensions/HelperMacros.h>
13
14#include "tesselation.hpp"
15
16/********************************************** Test classes **************************************/
17
18class TesselationTest : public CppUnit::TestFixture
19{
20 CPPUNIT_TEST_SUITE( TesselationTest) ;
21 CPPUNIT_TEST ( IsInnerPointTest );
22 CPPUNIT_TEST ( GetAllTrianglesTest );
23 CPPUNIT_TEST ( ContainmentTest );
24 CPPUNIT_TEST_SUITE_END();
25
26public:
27 void setUp();
28 void tearDown();
29 void IsInnerPointTest();
30 void GetAllTrianglesTest();
31 void ContainmentTest();
32
33
34private:
35 class Tesselation *TesselStruct;
36 LinkedNodes Corners;
37 class LinkedCell *LinkedList;
38};
39
40
41
42#endif /* TESSELATIONUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.