ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/test/math/SquareMatrixTestCase.cpp
(Generate patch)

Comparing trunk/test/math/SquareMatrixTestCase.cpp (file contents):
Revision 123 by tim, Wed Oct 20 18:07:08 2004 UTC vs.
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC

# Line 78 | Line 78 | void SquareMatrixTestCase::testJacobi() {
78      SMat3x3::jacobi(a, w1L, v);
79  
80      CPPUNIT_ASSERT_DOUBLES_EQUAL(w1L[0], w1R[0], 0.0001);
81 <    CPPUNIT_ASSERT_DOUBLES_EQUAL(w1L[1], w1R[1], oopse::epsilon);
82 <    CPPUNIT_ASSERT_DOUBLES_EQUAL(w1L[2], w1R[2], oopse::epsilon);
81 >    CPPUNIT_ASSERT_DOUBLES_EQUAL(w1L[1], w1R[1], OpenMD::NumericConstant::epsilon);
82 >    CPPUNIT_ASSERT_DOUBLES_EQUAL(w1L[2], w1R[2], OpenMD::NumericConstant::epsilon);
83  
84   }
85  
86   void SquareMatrixTestCase::testTrace() {
87 <    CPPUNIT_ASSERT_DOUBLES_EQUAL(identMat.trace(), 3.0, oopse::epsilon);
88 <    CPPUNIT_ASSERT_DOUBLES_EQUAL(symMat.trace(), 4.0, oopse::epsilon);
87 >    CPPUNIT_ASSERT_DOUBLES_EQUAL(identMat.trace(), 3.0, OpenMD::NumericConstant::epsilon);
88 >    CPPUNIT_ASSERT_DOUBLES_EQUAL(symMat.trace(), 4.0, OpenMD::NumericConstant::epsilon);
89   }
90   void SquareMatrixTestCase::testIsSymmertric(){
91      CPPUNIT_ASSERT(identMat.isSymmetric());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines