Last change
on this file since 83afe0 was d1829c, checked in by Frederik Heber <heber@…>, 15 years ago |
Merge branch 'FixBondGraphUnitTest_hydrogencarbon' into Analysis_PairCorrelation
Conflicts:
molecuilder/src/molecule_graph.cpp
There have been conflicts due to LinkedNodes now being local in context LinkedCell.
Signed-off-by: Frederik Heber <heber@…>
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[5f697c] | 1 | /*
|
---|
| 2 | * bondgraphunittest.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: Oct 29, 2009
|
---|
| 5 | * Author: heber
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef BONDGRAPHUNITTEST_HPP_
|
---|
| 9 | #define BONDGRAPHUNITTEST_HPP_
|
---|
| 10 |
|
---|
| 11 | #include <cppunit/extensions/HelperMacros.h>
|
---|
| 12 |
|
---|
| 13 |
|
---|
[e960b1] | 14 | class BondGraph;
|
---|
[5f697c] | 15 | class element;
|
---|
| 16 | class molecule;
|
---|
| 17 | class periodentafel;
|
---|
| 18 |
|
---|
| 19 | /********************************************** Test classes **************************************/
|
---|
| 20 |
|
---|
| 21 | class BondGraphTest : public CppUnit::TestFixture
|
---|
| 22 | {
|
---|
| 23 | CPPUNIT_TEST_SUITE( BondGraphTest) ;
|
---|
| 24 | CPPUNIT_TEST ( LoadTableTest );
|
---|
[aa8542] | 25 | CPPUNIT_TEST ( ConstructGraphFromTableTest );
|
---|
| 26 | CPPUNIT_TEST ( ConstructGraphFromCovalentRadiiTest );
|
---|
[5f697c] | 27 | CPPUNIT_TEST_SUITE_END();
|
---|
| 28 |
|
---|
| 29 | public:
|
---|
| 30 | void setUp();
|
---|
| 31 | void tearDown();
|
---|
| 32 | void LoadTableTest();
|
---|
[aa8542] | 33 | void ConstructGraphFromTableTest();
|
---|
| 34 | void ConstructGraphFromCovalentRadiiTest();
|
---|
[5f697c] | 35 |
|
---|
| 36 | private:
|
---|
| 37 |
|
---|
| 38 | molecule *TestMolecule;
|
---|
| 39 | element *hydrogen;
|
---|
| 40 | element *carbon;
|
---|
| 41 | periodentafel *tafel;
|
---|
| 42 |
|
---|
| 43 | BondGraph *BG;
|
---|
| 44 | string *filename;
|
---|
[aa8542] | 45 | string *dummyname;
|
---|
[5f697c] | 46 | };
|
---|
| 47 |
|
---|
| 48 | #endif /* BONDGRAPHUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.