Last change
on this file since 5d4edf was bc8155, checked in by Frederik Heber <heber@…>, 16 years ago |
Test code is moved to its own source subdirectory: test.
- ActOnAll.hpp was just a template test for the molecule::ActOnAll...() member functions, as the code is still fine and a Unit test depends on it, we keep it, but in a special subdirectory.
|
-
Property mode
set to
100644
|
File size:
842 bytes
|
Rev | Line | |
---|
[ef36b84] | 1 | /*
|
---|
| 2 | * ActOnAllUnitTest.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: 04.10.2009
|
---|
| 5 | * Author: FrederikHeber
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef ACTONALLUNITTEST_HPP_
|
---|
| 9 | #define ACTONALLUNITTEST_HPP_
|
---|
| 10 |
|
---|
| 11 | #include <cppunit/extensions/HelperMacros.h>
|
---|
| 12 |
|
---|
[bc8155] | 13 | #include "../test/ActOnAlltest.hpp"
|
---|
[ef36b84] | 14 |
|
---|
| 15 | /********************************************** Test classes **************************************/
|
---|
| 16 |
|
---|
| 17 | class ActOnAllTest : public CppUnit::TestFixture
|
---|
| 18 | {
|
---|
| 19 | CPPUNIT_TEST_SUITE( ActOnAllTest) ;
|
---|
[4bc937] | 20 | CPPUNIT_TEST ( AddSubtractTest );
|
---|
| 21 | CPPUNIT_TEST ( ScaleTest );
|
---|
| 22 | CPPUNIT_TEST ( NormalizeTest );
|
---|
[ef36b84] | 23 | CPPUNIT_TEST_SUITE_END();
|
---|
| 24 |
|
---|
| 25 | public:
|
---|
| 26 | void setUp();
|
---|
| 27 | void tearDown();
|
---|
[4bc937] | 28 | void AddSubtractTest();
|
---|
| 29 | void ScaleTest();
|
---|
| 30 | void NormalizeTest();
|
---|
[ef36b84] | 31 |
|
---|
| 32 | private:
|
---|
| 33 | class VectorList VL;
|
---|
[4bc937] | 34 | class VectorList Ref;
|
---|
[ef36b84] | 35 | };
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 | #endif /* ACTONALLUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.