Last change
on this file since 6bbdfb was 9b5a2c, checked in by Frederik Heber <heber@…>, 14 years ago |
Moved analysis modules into subfolder Analysis along with its unit tests.
- new Makefiles are included in src/Makefile.am and src/unittests/Makefile.am.
|
-
Property mode
set to
100644
|
File size:
1.2 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 config.h
|
---|
12 | #ifdef HAVE_CONFIG_H
|
---|
13 | #include <config.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 |
|
---|
17 | #include <cppunit/extensions/HelperMacros.h>
|
---|
18 |
|
---|
19 | class element;
|
---|
20 | class molecule;
|
---|
21 | class MoleculeListClass;
|
---|
22 | class Vector;
|
---|
23 |
|
---|
24 | /********************************************** Test classes **************************************/
|
---|
25 |
|
---|
26 | class AnalysisPairCorrelationUnitTest : public CppUnit::TestFixture
|
---|
27 | {
|
---|
28 | CPPUNIT_TEST_SUITE( AnalysisPairCorrelationUnitTest ) ;
|
---|
29 | CPPUNIT_TEST ( PairCorrelationTest );
|
---|
30 | CPPUNIT_TEST ( PairCorrelationBinNoRangeTest );
|
---|
31 | CPPUNIT_TEST ( PairCorrelationBinRangeTest );
|
---|
32 | CPPUNIT_TEST_SUITE_END();
|
---|
33 |
|
---|
34 | public:
|
---|
35 | void setUp();
|
---|
36 | void tearDown();
|
---|
37 | void PairCorrelationTest();
|
---|
38 | void PairCorrelationBinNoRangeTest();
|
---|
39 | void PairCorrelationBinRangeTest();
|
---|
40 |
|
---|
41 | private:
|
---|
42 |
|
---|
43 | std::vector<molecule *> allMolecules;
|
---|
44 | molecule *TestMolecule;
|
---|
45 | const element *hydrogen;
|
---|
46 |
|
---|
47 | PairCorrelationMap *correlationmap;
|
---|
48 | BinPairMap *binmap;
|
---|
49 | };
|
---|
50 |
|
---|
51 | #endif /* ANALYSISPAIRCORRELATIONUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.