source:
ThirdParty/LinearAlgebra/src/unittests/MatrixContentUnitTest.hpp@
91c409
| Last change on this file since 91c409 was 4ecb2d, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 1.1 KB | |
| Rev | Line | |
|---|---|---|
| [fc3b67] | 1 | /* |
| [fff54f] | 2 | * MatrixContentUnitTest.hpp |
| [fc3b67] | 3 | * |
| 4 | * Created on: Jan 8, 2010 | |
| 5 | * Author: heber | |
| 6 | */ | |
| 7 | ||
| [0d4424] | 8 | #ifndef MATRIXCONTENTUNITTEST_HPP_ |
| 9 | #define MATRIXCONTENTUNITTEST_HPP_ | |
| [fc3b67] | 10 | |
| [56f73b] | 11 | // include config.h |
| 12 | #ifdef HAVE_CONFIG_H | |
| 13 | #include <config.h> | |
| 14 | #endif | |
| 15 | ||
| 16 | ||
| [fc3b67] | 17 | #include <cppunit/extensions/HelperMacros.h> |
| 18 | ||
| [0d4424] | 19 | class MatrixContent; |
| [fc3b67] | 20 | |
| 21 | /********************************************** Test classes **************************************/ | |
| 22 | ||
| [0d4424] | 23 | class MatrixContentTest : public CppUnit::TestFixture |
| [fc3b67] | 24 | { |
| [0d4424] | 25 | CPPUNIT_TEST_SUITE( MatrixContentTest) ; |
| [fc3b67] | 26 | CPPUNIT_TEST (AccessTest ); |
| 27 | CPPUNIT_TEST (InitializationTest ); | |
| 28 | CPPUNIT_TEST (CopyTest ); | |
| 29 | CPPUNIT_TEST (ExchangeTest ); | |
| 30 | CPPUNIT_TEST (PropertiesTest ); | |
| [6f68d6] | 31 | CPPUNIT_TEST (ReadWriteTest ); |
| [cec7a5] | 32 | CPPUNIT_TEST (SVDTest ); |
| [29cbe9] | 33 | CPPUNIT_TEST (SerializationTest ); |
| [fc3b67] | 34 | CPPUNIT_TEST_SUITE_END(); |
| 35 | ||
| 36 | public: | |
| 37 | void setUp(); | |
| 38 | void tearDown(); | |
| 39 | ||
| 40 | void AccessTest(); | |
| 41 | void InitializationTest(); | |
| 42 | void CopyTest(); | |
| 43 | void ExchangeTest(); | |
| 44 | void PropertiesTest(); | |
| [6f68d6] | 45 | void ReadWriteTest(); |
| [cec7a5] | 46 | void SVDTest(); |
| [29cbe9] | 47 | void SerializationTest(); |
| [fc3b67] | 48 | |
| 49 | private: | |
| [0d4424] | 50 | MatrixContent *m; |
| [fc3b67] | 51 | }; |
| 52 | ||
| 53 | ||
| [0d4424] | 54 | #endif /* MATRIXCONTENTUNITTEST_HPP_ */ |
Note:
See TracBrowser
for help on using the repository browser.
