ForceAnnealing_goodresults
ForceAnnealing_tocheck
|
Last change
on this file since 7c7696 was cb30d9, checked in by Frederik Heber <heber@…>, 9 years ago |
|
Extended SamplingGridProperties::isCompatible() to allow more finely resolved grids, added ::isEquivalent().
- isEquivalent contains the old check and we replaced isCompatible() by it.
|
-
Property mode
set to
100644
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * SamplingGridPropertiesUnitTest.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Jul 29, 2012
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef SAMPLINGGRIDPROPERTIESUNITTEST_HPP_
|
|---|
| 9 | #define SAMPLINGGRIDPROPERTIESUNITTEST_HPP_
|
|---|
| 10 |
|
|---|
| 11 | // include config.h
|
|---|
| 12 | #ifdef HAVE_CONFIG_H
|
|---|
| 13 | #include <config.h>
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | #include <cppunit/extensions/HelperMacros.h>
|
|---|
| 18 |
|
|---|
| 19 | #include "Fragmentation/Summation/SetValues/SamplingGridProperties.hpp"
|
|---|
| 20 |
|
|---|
| 21 | /********************************************** Test classes **************************************/
|
|---|
| 22 |
|
|---|
| 23 | class SamplingGridPropertiesTest : public CppUnit::TestFixture
|
|---|
| 24 | {
|
|---|
| 25 | CPPUNIT_TEST_SUITE( SamplingGridPropertiesTest) ;
|
|---|
| 26 | CPPUNIT_TEST ( isEquivalent_Test );
|
|---|
| 27 | CPPUNIT_TEST ( isCompatible_Test );
|
|---|
| 28 | CPPUNIT_TEST ( equality_Test );
|
|---|
| 29 | CPPUNIT_TEST ( serializeTest );
|
|---|
| 30 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 31 |
|
|---|
| 32 | public:
|
|---|
| 33 | void setUp();
|
|---|
| 34 | void tearDown();
|
|---|
| 35 | void isEquivalent_Test();
|
|---|
| 36 | void isCompatible_Test();
|
|---|
| 37 | void equality_Test();
|
|---|
| 38 | void serializeTest();
|
|---|
| 39 |
|
|---|
| 40 | private:
|
|---|
| 41 | SamplingGridProperties *props;
|
|---|
| 42 |
|
|---|
| 43 | };
|
|---|
| 44 |
|
|---|
| 45 | #endif /* SAMPLINGGRIDPROPERTIESUNITTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.