|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61708 - trunk/libs/spirit/classic/phoenix/test
From: joel_at_[hidden]
Date: 2010-04-30 11:59:13
Author: djowel
Date: 2010-04-30 11:59:12 EDT (Fri, 30 Apr 2010)
New Revision: 61708
URL: http://svn.boost.org/trac/boost/changeset/61708
Log:
fixed precedence errors
Text files modified:
trunk/libs/spirit/classic/phoenix/test/binary_tests.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/libs/spirit/classic/phoenix/test/binary_tests.cpp
==============================================================================
--- trunk/libs/spirit/classic/phoenix/test/binary_tests.cpp (original)
+++ trunk/libs/spirit/classic/phoenix/test/binary_tests.cpp 2010-04-30 11:59:12 EDT (Fri, 30 Apr 2010)
@@ -63,9 +63,9 @@
BOOST_TEST((arg1 * arg2)(i2, i3) == i2 * i3);
BOOST_TEST((arg1 / arg2)(i2, i3) == i2 / i3);
BOOST_TEST((arg1 % arg2)(i2, i3) == i2 % i3);
- BOOST_TEST((arg1 & arg2)(i2, i3) == i2 & i3);
- BOOST_TEST((arg1 | arg2)(i2, i3) == i2 | i3);
- BOOST_TEST((arg1 ^ arg2)(i2, i3) == i2 ^ i3);
+ BOOST_TEST((arg1 & arg2)(i2, i3) == (i2 & i3));
+ BOOST_TEST((arg1 | arg2)(i2, i3) == (i2 | i3));
+ BOOST_TEST((arg1 ^ arg2)(i2, i3) == (i2 ^ i3));
BOOST_TEST((arg1 << arg2)(i2, i3) == i2 << i3);
BOOST_TEST((arg1 >> arg2)(i2, i3) == i2 >> i3);
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