Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51031 - trunk/libs/units/test
From: steven_at_[hidden]
Date: 2009-02-05 14:34:19


Author: steven_watanabe
Date: 2009-02-05 14:34:18 EST (Thu, 05 Feb 2009)
New Revision: 51031
URL: http://svn.boost.org/trac/boost/changeset/51031

Log:
Test a simpler case before trying something more complex
Text files modified:
   trunk/libs/units/test/test_unscale.cpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/libs/units/test/test_unscale.cpp
==============================================================================
--- trunk/libs/units/test/test_unscale.cpp (original)
+++ trunk/libs/units/test/test_unscale.cpp 2009-02-05 14:34:18 EST (Thu, 05 Feb 2009)
@@ -28,6 +28,10 @@
 #include <boost/mpl/assert.hpp>
 #include <boost/type_traits/is_same.hpp>
 
+
+BOOST_MPL_ASSERT((boost::is_same<boost::units::unscale<boost::units::temperature::fahrenheit_base_unit::unit_type>::type,
+ boost::units::temperature::fahrenheit_base_unit::unit_type>));
+
 BOOST_MPL_ASSERT((boost::is_same<boost::units::unscale<boost::units::reduce_unit<boost::units::temperature::fahrenheit_base_unit::unit_type>::type>::type,
                  boost::units::temperature::fahrenheit_base_unit::unit_type>));
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk