source: src/LinkedCell/unittests/linkedcellUnitTest.hpp

Candidate_v1.6.1
Last change on this file was 6bd7e0, checked in by Frederik Heber <heber@…>, 13 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.4 KB
Line 
1/*
2 * LinkedCellUnitTest.hpp
3 *
4 * Created on: Apr 9, 2010
5 * Author: heber
6 */
7
8#ifndef LINKEDCELLUNITTEST_HPP_
9#define LINKEDCELLUNITTEST_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
20class element;
21class LinkedCell_deprecated;
22class molecule;
23class periodentafel;
24
25/********************************************** Test classes **************************************/
26
27class linkedcelltest : public CppUnit::TestFixture
28{
29 CPPUNIT_TEST_SUITE( linkedcelltest) ;
30 CPPUNIT_TEST ( CheckBoundsTest );
31 CPPUNIT_TEST ( GetCurrentCellTest );
32 CPPUNIT_TEST ( GetRelativeToCurrentCellTest );
33 CPPUNIT_TEST ( SetIndexToNodeTest );
34 CPPUNIT_TEST ( SetIndexToVectorTest );
35 CPPUNIT_TEST ( GetNeighbourBoundsTest );
36 CPPUNIT_TEST ( GetallNeighboursTest );
37 CPPUNIT_TEST ( GetPointsInsideSphereTest );
38 CPPUNIT_TEST_SUITE_END();
39
40public:
41 void setUp();
42 void tearDown();
43
44 void GetCurrentCellTest();
45 void GetRelativeToCurrentCellTest();
46 void SetIndexToNodeTest();
47 void SetIndexToVectorTest();
48 void CheckBoundsTest();
49 void GetNeighbourBoundsTest();
50 void GetallNeighboursTest();
51 void GetPointsInsideSphereTest();
52
53private:
54
55 molecule *TestMolecule;
56 const element *hydrogen;
57 LinkedCell_deprecated *LC;
58};
59
60
61#endif /* LINKEDCELLUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.