|
Last change
on this file since a2db10 was 57cfb7, checked in by Frederik Heber <heber@…>, 16 years ago |
|
Pair correlation analysis added.
Unit tests are working fine.
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * AnalysisCorrelationToSurfaceUnitTest.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Oct 13, 2009
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ANALYSISCORRELATIONTOSURFACEUNITTEST_HPP_
|
|---|
| 9 | #define ANALYSISCORRELATIONTOSURFACEUNITTEST_HPP_
|
|---|
| 10 |
|
|---|
| 11 | #include <cppunit/extensions/HelperMacros.h>
|
|---|
| 12 |
|
|---|
| 13 | class element;
|
|---|
| 14 | class molecule;
|
|---|
| 15 | class LinkedCell;
|
|---|
| 16 | class periodentafel;
|
|---|
| 17 | class Tesselation;
|
|---|
| 18 |
|
|---|
| 19 | /********************************************** Test classes **************************************/
|
|---|
| 20 |
|
|---|
| 21 | class AnalysisCorrelationToSurfaceUnitTest : public CppUnit::TestFixture
|
|---|
| 22 | {
|
|---|
| 23 | CPPUNIT_TEST_SUITE( AnalysisCorrelationToSurfaceUnitTest ) ;
|
|---|
| 24 | CPPUNIT_TEST ( CorrelationToSurfaceTest );
|
|---|
| 25 | CPPUNIT_TEST ( CorrelationToSurfaceBinNoRangeTest );
|
|---|
| 26 | CPPUNIT_TEST ( CorrelationToSurfaceBinRangeTest );
|
|---|
| 27 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 28 |
|
|---|
| 29 | public:
|
|---|
| 30 | void setUp();
|
|---|
| 31 | void tearDown();
|
|---|
| 32 | void CorrelationToSurfaceTest();
|
|---|
| 33 | void CorrelationToSurfaceBinNoRangeTest();
|
|---|
| 34 | void CorrelationToSurfaceBinRangeTest();
|
|---|
| 35 |
|
|---|
| 36 | private:
|
|---|
| 37 |
|
|---|
| 38 | molecule *TestMolecule;
|
|---|
| 39 | element *hydrogen;
|
|---|
| 40 | periodentafel *tafel;
|
|---|
| 41 |
|
|---|
| 42 | CorrelationToSurfaceMap *surfacemap;
|
|---|
| 43 | BinPairMap *binmap;
|
|---|
| 44 | Tesselation *Surface;
|
|---|
| 45 | LinkedCell *LC;
|
|---|
| 46 | };
|
|---|
| 47 |
|
|---|
| 48 | #endif /* ANALYSISCORRELATIONTOSURFACEUNITTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.