|
[yoda-svn] r349 - trunk/tests/Histo1Dblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Aug 24 13:30:53 BST 2011
Author: mkawalec Date: Wed Aug 24 13:30:52 2011 New Revision: 349 Log: Added a reset() function test. Modified: trunk/tests/Histo1D/Modify.cc Modified: trunk/tests/Histo1D/Modify.cc ============================================================================== --- trunk/tests/Histo1D/Modify.cc Wed Aug 24 12:56:53 2011 (r348) +++ trunk/tests/Histo1D/Modify.cc Wed Aug 24 13:30:52 2011 (r349) @@ -57,5 +57,13 @@ } cout << "PASS" << endl; + cout << "Checking the reset fuction: "; + h.reset(); + if(!(h.mean() != h.mean())|| !(h.mean(false) != h.mean(false))) { + cout << "FAIL" << endl; + return -1; + } + cout << "PASS" << endl; + return EXIT_SUCCESS; }
More information about the yoda-svn mailing list |