Candidate_v1.6.1
Rev | Line | |
---|
[57adc7] | 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 |
|
---|
[56f73b] | 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 |
|
---|
[57adc7] | 17 | #include <cppunit/extensions/HelperMacros.h>
|
---|
| 18 |
|
---|
[ead4e6] | 19 | #include "types.hpp"
|
---|
[57adc7] | 20 |
|
---|
[88b400] | 21 | // we prefer enum over define
|
---|
| 22 | enum { MOLECULE_COUNT = 10 };
|
---|
[57adc7] | 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 );
|
---|
[12c4cb] | 32 | CPPUNIT_TEST ( MoleculeOrderTest );
|
---|
| 33 | CPPUNIT_TEST ( MoleculeNameTest );
|
---|
[57adc7] | 34 | CPPUNIT_TEST_SUITE_END();
|
---|
| 35 |
|
---|
| 36 | public:
|
---|
| 37 | void setUp();
|
---|
| 38 | void tearDown();
|
---|
| 39 |
|
---|
| 40 | void MoleculeBaseSetsTest();
|
---|
| 41 | void MoleculeIdTest();
|
---|
| 42 | void MoleculeCalcTest();
|
---|
[12c4cb] | 43 | void MoleculeOrderTest();
|
---|
| 44 | void MoleculeNameTest();
|
---|
[57adc7] | 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.