/[escript]/trunk/escript/test/DataTestCase.cpp
ViewVC logotype

Diff of /trunk/escript/test/DataTestCase.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 757 by woo409, Mon Jun 26 13:12:56 2006 UTC revision 801 by ksteube, Wed Aug 9 00:49:56 2006 UTC
# Line 990  void DataTestCase::testOperations() { Line 990  void DataTestCase::testOperations() {
990    assert(std::abs(resultCon.getPointDataView()() - 5) <= REL_TOL*5);    assert(std::abs(resultCon.getPointDataView()() - 5) <= REL_TOL*5);
991    assert(std::abs(resultTag.getPointDataView()() - 5) <= REL_TOL*5);    assert(std::abs(resultTag.getPointDataView()() - 5) <= REL_TOL*5);
992    
   cout << "\tTest Data::trace." << endl;  
   resultEx.copy(baseEx.trace());  
   resultCon.copy(baseCon.trace());  
   resultTag.copy(baseTag.trace());  
   assert(std::abs(resultEx.getPointDataView()() - 15) <= REL_TOL*15);  
   assert(std::abs(resultCon.getPointDataView()() - 15) <= REL_TOL*15);  
   assert(std::abs(resultTag.getPointDataView()() - 15) <= REL_TOL*15);  
   
993  }  }
994    
995  void DataTestCase::testRefValue() {  void DataTestCase::testRefValue() {

Legend:
Removed from v.757  
changed lines
  Added in v.801

  ViewVC Help
Powered by ViewVC 1.1.26