|
Last change
on this file since 1ae9aa was 6bd7e0, checked in by Frederik Heber <heber@…>, 14 years ago |
|
Renamed old LinkedCell class to LinkedCell_deprecated.
- this is preparatory for a smooth transition to the new implementation.
- note that class LinkedCell and namespace LinkedCell bite each other so far.
|
-
Property mode
set to
100644
|
|
File size:
1.7 KB
|
| Rev | Line | |
|---|
| [c4d4df] | 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 |
|
|---|
| [56f73b] | 11 | // include config.h
|
|---|
| 12 | #ifdef HAVE_CONFIG_H
|
|---|
| 13 | #include <config.h>
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| [c4d4df] | 17 | #include <cppunit/extensions/HelperMacros.h>
|
|---|
| 18 |
|
|---|
| 19 | class element;
|
|---|
| [6bd7e0] | 20 | class LinkedCell_deprecated;
|
|---|
| [a5551b] | 21 | class molecule;
|
|---|
| 22 | class MoleculeListClass;
|
|---|
| [c4d4df] | 23 | class periodentafel;
|
|---|
| 24 | class Tesselation;
|
|---|
| 25 |
|
|---|
| 26 | /********************************************** Test classes **************************************/
|
|---|
| 27 |
|
|---|
| 28 | class AnalysisCorrelationToSurfaceUnitTest : public CppUnit::TestFixture
|
|---|
| 29 | {
|
|---|
| 30 | CPPUNIT_TEST_SUITE( AnalysisCorrelationToSurfaceUnitTest ) ;
|
|---|
| [8db598] | 31 | CPPUNIT_TEST ( SurfaceTest );
|
|---|
| [c4d4df] | 32 | CPPUNIT_TEST ( CorrelationToSurfaceTest );
|
|---|
| [bbc338] | 33 | CPPUNIT_TEST ( CorrelationToSurfaceHydrogenBinNoRangeTest );
|
|---|
| 34 | CPPUNIT_TEST ( CorrelationToSurfaceHydrogenBinRangeTest );
|
|---|
| 35 | CPPUNIT_TEST ( CorrelationToSurfaceCarbonBinNoRangeTest );
|
|---|
| 36 | CPPUNIT_TEST ( CorrelationToSurfaceCarbonBinRangeTest );
|
|---|
| [c4d4df] | 37 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 38 |
|
|---|
| 39 | public:
|
|---|
| 40 | void setUp();
|
|---|
| 41 | void tearDown();
|
|---|
| [8db598] | 42 | void SurfaceTest();
|
|---|
| [c4d4df] | 43 | void CorrelationToSurfaceTest();
|
|---|
| [bbc338] | 44 | void CorrelationToSurfaceHydrogenBinNoRangeTest();
|
|---|
| 45 | void CorrelationToSurfaceHydrogenBinRangeTest();
|
|---|
| 46 | void CorrelationToSurfaceCarbonBinNoRangeTest();
|
|---|
| 47 | void CorrelationToSurfaceCarbonBinRangeTest();
|
|---|
| [c4d4df] | 48 |
|
|---|
| 49 | private:
|
|---|
| 50 |
|
|---|
| [e65de8] | 51 | std::vector<molecule *> allMolecules;
|
|---|
| [8db598] | 52 | molecule *TestSurfaceMolecule;
|
|---|
| [e5c0a1] | 53 | const element *hydrogen;
|
|---|
| 54 | const element *carbon;
|
|---|
| 55 | std::vector<const element *> elements;
|
|---|
| [c4d4df] | 56 |
|
|---|
| 57 | CorrelationToSurfaceMap *surfacemap;
|
|---|
| 58 | BinPairMap *binmap;
|
|---|
| 59 | Tesselation *Surface;
|
|---|
| [6bd7e0] | 60 | LinkedCell_deprecated *LC;
|
|---|
| [c4d4df] | 61 | };
|
|---|
| 62 |
|
|---|
| 63 | #endif /* ANALYSISCORRELATIONTOSURFACEUNITTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.