|
Last change
on this file since f058ef was f058ef, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
|
Added methods to query Molecules by ID
|
-
Property mode
set to
100644
|
|
File size:
717 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * AtomDescriptorTest.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Feb 9, 2010
|
|---|
| 5 | * Author: crueger
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ATOMDESCRIPTORTEST_HPP_
|
|---|
| 9 | #define ATOMDESCRIPTORTEST_HPP_
|
|---|
| 10 |
|
|---|
| 11 | #include <cppunit/extensions/HelperMacros.h>
|
|---|
| 12 |
|
|---|
| 13 | #include "defs.hpp"
|
|---|
| 14 |
|
|---|
| 15 | #define ATOM_COUNT (10)
|
|---|
| 16 |
|
|---|
| 17 | class atom;
|
|---|
| 18 |
|
|---|
| 19 | class AtomDescriptorTest : public CppUnit::TestFixture
|
|---|
| 20 | {
|
|---|
| 21 | CPPUNIT_TEST_SUITE( AtomDescriptorTest );
|
|---|
| 22 | CPPUNIT_TEST ( AtomBaseSetsTest );
|
|---|
| 23 | CPPUNIT_TEST ( AtomIdTest );
|
|---|
| 24 | CPPUNIT_TEST ( AtomCalcTest );
|
|---|
| 25 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 26 |
|
|---|
| 27 | public:
|
|---|
| 28 | void setUp();
|
|---|
| 29 | void tearDown();
|
|---|
| 30 |
|
|---|
| 31 | void AtomBaseSetsTest();
|
|---|
| 32 | void AtomIdTest();
|
|---|
| 33 | void AtomCalcTest();
|
|---|
| 34 |
|
|---|
| 35 | private:
|
|---|
| 36 | atom *atoms [ATOM_COUNT];
|
|---|
| 37 | atomId_t atomIds [ATOM_COUNT];
|
|---|
| 38 | };
|
|---|
| 39 |
|
|---|
| 40 | #endif /* ATOMDESCRIPTORTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.