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

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

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

revision 155 by jgs, Wed Nov 9 02:02:19 2005 UTC revision 311 by jgs, Mon Dec 5 02:59:54 2005 UTC
# Line 462  void DataTestCase::testOperations() { Line 462  void DataTestCase::testOperations() {
462    result.copy(base.log());    result.copy(base.log());
463    assert(true);    assert(true);
464    
465    cout << "\tTest Data::ln." << endl;    //cout << "\tTest Data::ln." << endl;
466    result.copy(base.ln());    //result.copy(base.ln());
467    assert(true);    //assert(true);
468    
469    cout << "\tTest Data::abs." << endl;    cout << "\tTest Data::abs." << endl;
470    result.copy(base.abs());    result.copy(base.abs());
# Line 515  void DataTestCase::testOperations() { Line 515  void DataTestCase::testOperations() {
515    result.copy(base.maxval());    result.copy(base.maxval());
516    assert(result.getPointDataView()() == 5);    assert(result.getPointDataView()() == 5);
517    
518    cout << "\tTest Data::length." << endl;    //cout << "\tTest Data::length." << endl;
519    result.copy(base.length());    //result.copy(base.length());
520    assert(pow(result.getPointDataView()(),2.0) == 55);    //assert(pow(result.getPointDataView()(),2.0) == 55);
521    
522    cout << "\tTest Data::trace." << endl;    cout << "\tTest Data::trace." << endl;
523    result.copy(base.trace());    result.copy(base.trace());

Legend:
Removed from v.155  
changed lines
  Added in v.311

  ViewVC Help
Powered by ViewVC 1.1.26