Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56971 - in branches/release/libs/spirit: . classic/example doc/html/spirit/abstracts/customize doc/html/spirit/abstracts/indepth example phoenix test test/karma test/qi
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-17 15:35:53


Author: hkaiser
Date: 2009-10-17 15:35:52 EDT (Sat, 17 Oct 2009)
New Revision: 56971
URL: http://svn.boost.org/trac/boost/changeset/56971

Log:
Spirit: merged tests
Properties modified:
   branches/release/libs/spirit/ (props changed)
   branches/release/libs/spirit/classic/example/ (props changed)
   branches/release/libs/spirit/doc/html/spirit/abstracts/customize/ (props changed)
   branches/release/libs/spirit/doc/html/spirit/abstracts/indepth/ (props changed)
   branches/release/libs/spirit/example/ (props changed)
   branches/release/libs/spirit/phoenix/ (props changed)
   branches/release/libs/spirit/test/ (props changed)
   branches/release/libs/spirit/test/qi/optional.cpp (props changed)
Text files modified:
   branches/release/libs/spirit/test/karma/binary.cpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: branches/release/libs/spirit/test/karma/binary.cpp
==============================================================================
--- branches/release/libs/spirit/test/karma/binary.cpp (original)
+++ branches/release/libs/spirit/test/karma/binary.cpp 2009-10-17 15:35:52 EDT (Sat, 17 Oct 2009)
@@ -171,14 +171,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