|
Last change
on this file since ef87ee was e71890, checked in by Frederik Heber <heber@…>, 16 years ago |
|
Merge branch 'new-delete-conversion' into CodeRefactoring
Conflicts:
molecuilder/src/Makefile.am
molecuilder/src/helpers.cpp
molecuilder/src/helpers.hpp
molecuilder/src/memoryusageobserver.cpp
- FIX: performCriticalExit() was declared static but not defined a such.
- Merge was basically only due to libmolecuilder which was not used in CodeRefactoring branch before.
- added ActOnAll Unit test to new unittests sub folder and to Makefile.am
|
-
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 |
|
|---|
| 20 | class 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 |
|
|---|
| 28 | public:
|
|---|
| 29 | void setUp();
|
|---|
| 30 | void tearDown();
|
|---|
| 31 | void IsInnerPointTest();
|
|---|
| 32 | void GetAllTrianglesTest();
|
|---|
| 33 | void ContainmentTest();
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | private:
|
|---|
| 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.