| # | Line 314 | Line 314 | void RectMatrixTestCase::testRowColOperations() { | |
|---|---|---|
| 314 | ||
| 315 | s.swapColum(0, 1); | |
| 316 | CPPUNIT_ASSERT(s == e); | |
| 317 | < | |
| 317 | > | |
| 318 | > | double* p = s.getArrayPointer(); |
| 319 | > | |
| 320 | > | p[0] = 2.0; |
| 321 | > | p[1] = 4.0; |
| 322 | > | p[2] = 1.0; |
| 323 | > | p[3] = 0.0; |
| 324 | > | p[4] = 6.0; |
| 325 | > | p[5] = 5.0; |
| 326 | > | p[6] = 0.0; |
| 327 | > | p[7] = 0.0; |
| 328 | > | p[8] = 3.0; |
| 329 | > | |
| 330 | > | CPPUNIT_ASSERT(s == f); |
| 331 | } | |
| 332 | ||
| 333 | void RectMatrixTestCase::testOtherMemberFunctions(){ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |