[yoda-svn] r412 - trunk/tests

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Dec 7 10:52:52 GMT 2011


Author: buckley
Date: Wed Dec  7 10:52:52 2011
New Revision: 412

Log:
Adding a test (unchecked) of the ScaledBy annotation handling

Modified:
   trunk/tests/TestHisto1Db.cc

Modified: trunk/tests/TestHisto1Db.cc
==============================================================================
--- trunk/tests/TestHisto1Db.cc	Tue Dec  6 17:51:15 2011	(r411)
+++ trunk/tests/TestHisto1Db.cc	Wed Dec  7 10:52:52 2011	(r412)
@@ -28,7 +28,11 @@
   /// @todo Also test with another histo whose range is incomplete, to make sure
   /// that the under/overflows are working
 
-  /// Write one histo out to stdout
+  /// Write one histo out to stdout, with various scalings
+  WriterYODA::write(cout, h1);
+  h1.scaleW(0.5);
+  WriterYODA::write(cout, h1);
+  h1.scaleW(2);
   WriterYODA::write(cout, h1);
 
   /// Write two histos out to file


More information about the yoda-svn mailing list