source:
molecuilder/src/unittests/AtomDescriptorTest.hpp@
eb129c
| Last change on this file since eb129c was 5dba7a, checked in by , 16 years ago | |
|---|---|
|
|
| File size: 718 bytes | |
| Rev | Line | |
|---|---|---|
| [323177] | 1 | /* |
| [f058ef] | 2 | * AtomDescriptorTest.hpp |
| [323177] | 3 | * |
| 4 | * Created on: Feb 9, 2010 | |
| 5 | * Author: crueger | |
| 6 | */ | |
| 7 | ||
| [f058ef] | 8 | #ifndef ATOMDESCRIPTORTEST_HPP_ |
| 9 | #define ATOMDESCRIPTORTEST_HPP_ | |
| [323177] | 10 | |
| 11 | #include <cppunit/extensions/HelperMacros.h> | |
| 12 | ||
| [5dba7a] | 13 | #include "types.hpp" |
| [f058ef] | 14 | |
| [323177] | 15 | #define ATOM_COUNT (10) |
| 16 | ||
| 17 | class atom; | |
| 18 | ||
| [f058ef] | 19 | class AtomDescriptorTest : public CppUnit::TestFixture |
| [323177] | 20 | { |
| [f058ef] | 21 | CPPUNIT_TEST_SUITE( AtomDescriptorTest ); |
| [323177] | 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]; | |
| [f058ef] | 37 | atomId_t atomIds [ATOM_COUNT]; |
| [323177] | 38 | }; |
| 39 | ||
| [f058ef] | 40 | #endif /* ATOMDESCRIPTORTEST_HPP_ */ |
Note:
See TracBrowser
for help on using the repository browser.
