source: molecuilder/src/tesselationunittest.hpp@ 17b3a5c

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

forward declarations used to untangle interdependet classes.

  • basically, everywhere in header files we removed '#include' lines were only pointer to the respective classes were used and the include line was moved to the implementation file.
  • as a sidenote, lots of funny errors happened because headers were included via a nesting over three other includes. Now, all should be declared directly as needed, as only very little include lines remain in header files.
  • Property mode set to 100644
File size: 1004 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/*********************************************** includes ***********************************/
12
13#include <cppunit/extensions/HelperMacros.h>
14
15#include "linkedcell.hpp"
16#include "tesselation.hpp"
17
18/********************************************** Test classes **************************************/
19
20class TesselationTest : public CppUnit::TestFixture
21{
22 CPPUNIT_TEST_SUITE( TesselationTest) ;
23 CPPUNIT_TEST ( IsInnerPointTest );
24 CPPUNIT_TEST ( GetAllTrianglesTest );
25 CPPUNIT_TEST ( ContainmentTest );
26 CPPUNIT_TEST_SUITE_END();
27
28public:
29 void setUp();
30 void tearDown();
31 void IsInnerPointTest();
32 void GetAllTrianglesTest();
33 void ContainmentTest();
34
35
36private:
37 class Tesselation *TesselStruct;
38 LinkedNodes Corners;
39 class LinkedCell *LinkedList;
40};
41
42
43
44#endif /* TESSELATIONUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.