source: src/Analysis/unittests/AnalysisCorrelationToSurfaceUnitTest.hpp@ 6bbdfb

Last change on this file since 6bbdfb 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
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 config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include <cppunit/extensions/HelperMacros.h>
18
19class element;
20class LinkedCell_deprecated;
21class molecule;
22class MoleculeListClass;
23class periodentafel;
24class Tesselation;
25
26/********************************************** Test classes **************************************/
27
28class AnalysisCorrelationToSurfaceUnitTest : public CppUnit::TestFixture
29{
30 CPPUNIT_TEST_SUITE( AnalysisCorrelationToSurfaceUnitTest ) ;
31 CPPUNIT_TEST ( SurfaceTest );
32 CPPUNIT_TEST ( CorrelationToSurfaceTest );
33 CPPUNIT_TEST ( CorrelationToSurfaceHydrogenBinNoRangeTest );
34 CPPUNIT_TEST ( CorrelationToSurfaceHydrogenBinRangeTest );
35 CPPUNIT_TEST ( CorrelationToSurfaceCarbonBinNoRangeTest );
36 CPPUNIT_TEST ( CorrelationToSurfaceCarbonBinRangeTest );
37 CPPUNIT_TEST_SUITE_END();
38
39public:
40 void setUp();
41 void tearDown();
42 void SurfaceTest();
43 void CorrelationToSurfaceTest();
44 void CorrelationToSurfaceHydrogenBinNoRangeTest();
45 void CorrelationToSurfaceHydrogenBinRangeTest();
46 void CorrelationToSurfaceCarbonBinNoRangeTest();
47 void CorrelationToSurfaceCarbonBinRangeTest();
48
49private:
50
51 std::vector<molecule *> allMolecules;
52 molecule *TestSurfaceMolecule;
53 const element *hydrogen;
54 const element *carbon;
55 std::vector<const element *> elements;
56
57 CorrelationToSurfaceMap *surfacemap;
58 BinPairMap *binmap;
59 Tesselation *Surface;
60 LinkedCell_deprecated *LC;
61};
62
63#endif /* ANALYSISCORRELATIONTOSURFACEUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.