|
Last change
on this file since 6f9d14 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.1 KB
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * AnalysisPairCorrelationUnitTest.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Oct 13, 2009
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ANALYSISPAIRCORRELATIONUNITTEST_HPP_
|
|---|
| 9 | #define ANALYSISPAIRCORRELATIONUNITTEST_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 | class Vector;
|
|---|
| 19 |
|
|---|
| 20 | /********************************************** Test classes **************************************/
|
|---|
| 21 |
|
|---|
| 22 | class AnalysisPairCorrelationUnitTest : public CppUnit::TestFixture
|
|---|
| 23 | {
|
|---|
| 24 | CPPUNIT_TEST_SUITE( AnalysisPairCorrelationUnitTest ) ;
|
|---|
| 25 | CPPUNIT_TEST ( PairCorrelationTest );
|
|---|
| 26 | CPPUNIT_TEST ( PairCorrelationBinNoRangeTest );
|
|---|
| 27 | CPPUNIT_TEST ( PairCorrelationBinRangeTest );
|
|---|
| 28 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 29 |
|
|---|
| 30 | public:
|
|---|
| 31 | void setUp();
|
|---|
| 32 | void tearDown();
|
|---|
| 33 | void PairCorrelationTest();
|
|---|
| 34 | void PairCorrelationBinNoRangeTest();
|
|---|
| 35 | void PairCorrelationBinRangeTest();
|
|---|
| 36 |
|
|---|
| 37 | private:
|
|---|
| 38 |
|
|---|
| 39 | molecule *TestMolecule;
|
|---|
| 40 | element *hydrogen;
|
|---|
| 41 | periodentafel *tafel;
|
|---|
| 42 |
|
|---|
| 43 | PairCorrelationMap *correlationmap;
|
|---|
| 44 | BinPairMap *binmap;
|
|---|
| 45 | };
|
|---|
| 46 |
|
|---|
| 47 | #endif /* ANALYSISPAIRCORRELATIONUNITTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.