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 1815 by tim, Mon Oct 25 22:46:19 2004 UTC vs.
Revision 1816 by tim, Wed Dec 1 19:10:51 2004 UTC

# Line 279 | Line 279 | void RectMatrixTestCase::testRowColOperations() {
279      CPPUNIT_ASSERT(m == e);
280      
281      //test getCol
282 <    col = e.getColum(1);
282 >    col = e.getColumn(1);
283      CPPUNIT_ASSERT_DOUBLES_EQUAL(col[0], 4.0, oopse::epsilon);    
284      CPPUNIT_ASSERT_DOUBLES_EQUAL(col[1], 0.0, oopse::epsilon);
285      CPPUNIT_ASSERT_DOUBLES_EQUAL(col[2], 6.0, oopse::epsilon);
# Line 287 | Line 287 | void RectMatrixTestCase::testRowColOperations() {
287      col[0] = 2.0;    
288      col[1] = 0.0;    
289      col[2] = 0.0;    
290 <    m.setColum(0, col);
290 >    m.setColumn(0, col);
291      col[0] = 4.0;    
292      col[1] = 0.0;    
293      col[2] = 6.0;    
294 <    m.setColum(1, col);
294 >    m.setColumn(1, col);
295      col[0] = 1.0;    
296      col[1] = 3.0;    
297      col[2] = 5.0;    
298 <    m.setColum(2, col);
298 >    m.setColumn(2, col);
299      CPPUNIT_ASSERT(m == e);
300  
301      //test swapRow
# Line 321 | Line 321 | void RectMatrixTestCase::testRowColOperations() {
321      s(2, 1) = 0.0;
322      s(2, 2) = 5.0;
323  
324 <    s.swapColum(0, 1);
324 >    s.swapColumn(0, 1);
325      CPPUNIT_ASSERT(s == e);
326  
327      double* p = s.getArrayPointer();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines