Candidate_v1.6.1
Line | |
---|
1 | /*
|
---|
2 | * MoleculeDescriptorTest.hpp
|
---|
3 | *
|
---|
4 | * Created on: Mar 4, 2010
|
---|
5 | * Author: crueger
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef MOLECULEDESCRIPTORTEST_HPP_
|
---|
9 | #define MOLECULEDESCRIPTORTEST_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 | #include "types.hpp"
|
---|
20 |
|
---|
21 | // we prefer enum over define
|
---|
22 | enum { MOLECULE_COUNT = 10 };
|
---|
23 |
|
---|
24 | class molecule;
|
---|
25 |
|
---|
26 | class MoleculeDescriptorTest : public CppUnit::TestFixture
|
---|
27 | {
|
---|
28 | CPPUNIT_TEST_SUITE( MoleculeDescriptorTest );
|
---|
29 | CPPUNIT_TEST ( MoleculeBaseSetsTest );
|
---|
30 | CPPUNIT_TEST ( MoleculeIdTest );
|
---|
31 | CPPUNIT_TEST ( MoleculeCalcTest );
|
---|
32 | CPPUNIT_TEST ( MoleculeOrderTest );
|
---|
33 | CPPUNIT_TEST ( MoleculeNameTest );
|
---|
34 | CPPUNIT_TEST_SUITE_END();
|
---|
35 |
|
---|
36 | public:
|
---|
37 | void setUp();
|
---|
38 | void tearDown();
|
---|
39 |
|
---|
40 | void MoleculeBaseSetsTest();
|
---|
41 | void MoleculeIdTest();
|
---|
42 | void MoleculeCalcTest();
|
---|
43 | void MoleculeOrderTest();
|
---|
44 | void MoleculeNameTest();
|
---|
45 |
|
---|
46 | private:
|
---|
47 | molecule *molecules [MOLECULE_COUNT];
|
---|
48 | moleculeId_t moleculeIds [MOLECULE_COUNT];
|
---|
49 | };
|
---|
50 |
|
---|
51 | #endif /* MOLECULEDESCRIPTORTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.