| 12 |
|
typedef RectMatrix<double, 2, 2> RMat2x2; |
| 13 |
|
typedef RectMatrix<double, 2, 3> RMat2x3; |
| 14 |
|
typedef RectMatrix<double, 3, 2> RMat3x2; |
| 15 |
+ |
typedef RectMatrix<double, 3, 3> RMat3x3; |
| 16 |
+ |
typedef RectMatrix<double, 3, 4> RMat3x4; |
| 17 |
|
|
| 18 |
+ |
typedef Vector<double, 3> Vec3; |
| 19 |
+ |
|
| 20 |
|
class RectMatrixTestCase : public CPPUNIT_NS::TestFixture { |
| 21 |
|
CPPUNIT_TEST_SUITE( RectMatrixTestCase ); |
| 22 |
|
CPPUNIT_TEST(testConstructor); |
| 52 |
|
RMat2x2 one; |
| 53 |
|
RMat2x2 two; |
| 54 |
|
|
| 51 |
– |
|
| 55 |
|
RMat2x3 a; |
| 56 |
|
RMat3x2 b; |
| 57 |
+ |
RMat2x2 c; |
| 58 |
+ |
|
| 59 |
+ |
RMat3x3 d; |
| 60 |
+ |
RMat3x3 e; |
| 61 |
+ |
RMat3x3 f; |
| 62 |
|
|
| 63 |
+ |
RMat3x3 g; |
| 64 |
+ |
RMat3x4 h; |
| 65 |
+ |
RMat3x4 i; |
| 66 |
+ |
|
| 67 |
+ |
Vec3 v1; |
| 68 |
+ |
Vec3 v2; |
| 69 |
+ |
|
| 70 |
|
double s1; |
| 71 |
|
|
| 72 |
|
double s2; |