|
Last change
on this file since 1e0785 was 7bfc19, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
|
Made the world solely responsible for creating and destroying atoms.
|
-
Property mode
set to
100644
|
|
File size:
677 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * atomsCalculationTest.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Feb 19, 2010
|
|---|
| 5 | * Author: crueger
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ATOMSCALCULATIONTEST_HPP_
|
|---|
| 9 | #define ATOMSCALCULATIONTEST_HPP_
|
|---|
| 10 |
|
|---|
| 11 | #include <cppunit/extensions/HelperMacros.h>
|
|---|
| 12 |
|
|---|
| 13 | #define ATOM_COUNT (10)
|
|---|
| 14 |
|
|---|
| 15 | class atom;
|
|---|
| 16 |
|
|---|
| 17 | class atomsCalculationTest : public CppUnit::TestFixture
|
|---|
| 18 | {
|
|---|
| 19 | CPPUNIT_TEST_SUITE( atomsCalculationTest );
|
|---|
| 20 | CPPUNIT_TEST ( testCalculateSimple );
|
|---|
| 21 | CPPUNIT_TEST ( testCalculateExcluded );
|
|---|
| 22 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 23 |
|
|---|
| 24 | public:
|
|---|
| 25 | void setUp();
|
|---|
| 26 | void tearDown();
|
|---|
| 27 |
|
|---|
| 28 | void testCalculateSimple();
|
|---|
| 29 | void testCalculateExcluded();
|
|---|
| 30 |
|
|---|
| 31 | private:
|
|---|
| 32 | atom *atoms [ATOM_COUNT];
|
|---|
| 33 | int atomIds [ATOM_COUNT];
|
|---|
| 34 | };
|
|---|
| 35 |
|
|---|
| 36 | #endif /* ATOMSCALCULATIONTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.