Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56960 - trunk/libs/spirit/test/karma
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-17 12:12:38


Author: hkaiser
Date: 2009-10-17 12:12:37 EDT (Sat, 17 Oct 2009)
New Revision: 56960
URL: http://svn.boost.org/trac/boost/changeset/56960

Log:
Spirit: fixing tests for big endian binary generator
Text files modified:
   trunk/libs/spirit/test/karma/binary.cpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/spirit/test/karma/binary.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/binary.cpp (original)
+++ trunk/libs/spirit/test/karma/binary.cpp 2009-10-17 12:12:37 EDT (Sat, 17 Oct 2009)
@@ -172,14 +172,14 @@
 #else // BOOST_LITTLE_ENDIAN
 
         boost::optional<boost::uint8_t> v8 (0x01);
- BOOST_TEST(!binary_test("\x01", 1, byte_, v8));
+ BOOST_TEST(binary_test("\x01", 1, byte_, v8));
         boost::optional<boost::uint16_t> v16 (0x0102);
- BOOST_TEST(!binary_test("\x01\x02", 2, word, v16));
+ BOOST_TEST(binary_test("\x01\x02", 2, word, v16));
         boost::optional<boost::uint32_t> v32 (0x01020304);
- BOOST_TEST(!binary_test("\x01\x02\x03\x04", 4, dword, v32));
+ BOOST_TEST(binary_test("\x01\x02\x03\x04", 4, dword, v32));
 #ifdef BOOST_HAS_LONG_LONG
         boost::optional<boost::uint64_t> v64 (0x0102030405060708LL);
- BOOST_TEST(!binary_test("\x01\x02\x03\x04\x05\x06\x07\x08", 8, qword, v64));
+ BOOST_TEST(binary_test("\x01\x02\x03\x04\x05\x06\x07\x08", 8, qword, v64));
 #endif
 
 #endif


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