ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/test/math/RectMatrixTestCase.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/test/math/RectMatrixTestCase.cpp (file contents):
Revision 1603 by tim, Tue Oct 19 21:28:55 2004 UTC vs.
Revision 1630 by tim, Thu Oct 21 21:31:39 2004 UTC

# 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(){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines