source: src/Analysis/unittests/CountBondsUnitTest.hpp@ 1ae9aa

Last change on this file since 1ae9aa 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.1 KB
Line 
1/*
2 * CountBondsUnitTest.hpp
3 *
4 * Created on: Mar 30, 2010
5 * Author: heber
6 */
7
8#ifndef COUNTBONDSUNITTEST_HPP_
9#define COUNTBONDSUNITTEST_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 BondGraph;
21class element;
22class molecule;
23class periodentafel;
24
25/********************************************** Test classes **************************************/
26
27class CountBondsTest : public CppUnit::TestFixture
28{
29 CPPUNIT_TEST_SUITE( CountBondsTest) ;
30 CPPUNIT_TEST ( BondsOfTwoTest );
31 CPPUNIT_TEST ( BondsOfThreeTest );
32 CPPUNIT_TEST ( HydrogenBridgeBondsTest );
33 CPPUNIT_TEST_SUITE_END();
34
35public:
36 void setUp();
37 void tearDown();
38 void BondsOfTwoTest();
39 void BondsOfThreeTest();
40 void HydrogenBridgeBondsTest();
41
42private:
43
44 MoleculeListClass *molecules;
45 molecule *TestMolecule1;
46 molecule *TestMolecule2;
47 const element *hydrogen;
48 const element *oxygen;
49
50 BondGraph *BG;
51 string *filename;
52};
53
54
55#endif /* COUNTBONDSUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.