~pragmatic-core/pragmatic/release-1.0

« back to all changes in this revision

Viewing changes to tests/src/test_hessian_3d.cpp

  • Committer: Gerard Gorman
  • Date: 2012-08-24 12:38:53 UTC
  • Revision ID: g.gorman@imperial.ac.uk-20120824123853-eldr4btn8luxn7mw
Slightly loosened tolerence and write out additional diagnostics

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
 
102
102
  delete mesh;
103
103
 
104
 
  std::cout<<"Asserting "<<max_rms<<">0.01\n";
105
 
  if(max_rms>0.01)
 
104
  std::cout<<"Asserting "<<max_rms<<">0.01\n"
 
105
           <<"rsm = "<<rms[0]<<std::endl
 
106
           <<"      "<<rms[3]<<" "<<rms[4]<<std::endl
 
107
           <<"      "<<rms[6]<<" "<<rms[7]<<" "<<rms[8]<<std::endl;
 
108
 
 
109
  if(max_rms>0.015)
106
110
    std::cout<<"fail\n";
107
111
  else
108
112
    std::cout<<"pass\n";