Last change
on this file since 031ec24 was 323177, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
Rebuilt AtomDescriptors using PIMPL-Idiom and added unittest for descriptors
|
-
Property mode
set to
100644
|
File size:
663 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * DescriptorUnittest.hpp
|
---|
3 | *
|
---|
4 | * Created on: Feb 9, 2010
|
---|
5 | * Author: crueger
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef DESCRIPTORUNITTEST_HPP_
|
---|
9 | #define DESCRIPTORUNITTEST_HPP_
|
---|
10 |
|
---|
11 | #include <cppunit/extensions/HelperMacros.h>
|
---|
12 |
|
---|
13 | #define ATOM_COUNT (10)
|
---|
14 |
|
---|
15 | class atom;
|
---|
16 |
|
---|
17 | class DescriptorUnittest : public CppUnit::TestFixture
|
---|
18 | {
|
---|
19 | CPPUNIT_TEST_SUITE( DescriptorUnittest );
|
---|
20 | CPPUNIT_TEST ( AtomBaseSetsTest );
|
---|
21 | CPPUNIT_TEST ( AtomIdTest );
|
---|
22 | CPPUNIT_TEST ( AtomCalcTest );
|
---|
23 | CPPUNIT_TEST_SUITE_END();
|
---|
24 |
|
---|
25 | public:
|
---|
26 | void setUp();
|
---|
27 | void tearDown();
|
---|
28 |
|
---|
29 | void AtomBaseSetsTest();
|
---|
30 | void AtomIdTest();
|
---|
31 | void AtomCalcTest();
|
---|
32 |
|
---|
33 | private:
|
---|
34 | atom *atoms [ATOM_COUNT];
|
---|
35 | };
|
---|
36 |
|
---|
37 | #endif /* DESCRIPTORUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.