| 5 |
|
#include "math/RectMatrix.hpp" |
| 6 |
|
|
| 7 |
|
/** |
| 8 |
< |
* @namespace oopse |
| 8 |
> |
* @namespace OpenMD |
| 9 |
|
*/ |
| 10 |
< |
using namespace oopse; |
| 10 |
> |
using namespace OpenMD; |
| 11 |
|
|
| 12 |
|
typedef RectMatrix<double, 2, 2> RMat2x2; |
| 13 |
|
typedef RectMatrix<double, 2, 3> RMat2x3; |
| 26 |
|
CPPUNIT_TEST(testMul); |
| 27 |
|
CPPUNIT_TEST(testDiv); |
| 28 |
|
CPPUNIT_TEST(testAccessEntries); |
| 29 |
< |
CPPUNIT_TEST(testTranspose); |
| 29 |
> |
CPPUNIT_TEST(testRowColOperations); |
| 30 |
> |
CPPUNIT_TEST(testOtherMemberFunctions); |
| 31 |
|
CPPUNIT_TEST_SUITE_END(); |
| 32 |
|
|
| 33 |
|
public: |
| 42 |
|
void testMul(); |
| 43 |
|
void testDiv(); |
| 44 |
|
void testAccessEntries(); |
| 45 |
< |
void testTranspose(); |
| 45 |
> |
void testRowColOperations(); |
| 46 |
> |
void testOtherMemberFunctions(); |
| 47 |
|
|
| 48 |
|
private: |
| 49 |
|
RMat2x2 m1; |