[Liblas-commits] hg-main-tree: lint
liblas-commits at liblas.org
liblas-commits at liblas.org
Fri Mar 25 12:50:55 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/e6e0f0b32e9b
changeset: 450:e6e0f0b32e9b
user: Michael P. Gerlek <mpg at flaxen.com>
date: Fri Mar 25 09:50:49 2011 -0700
description:
lint
diffstat:
test/unit/FauxReaderTest.cpp | 6 +++---
test/unit/LiblasReaderTest.cpp | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r c198f477d09b -r e6e0f0b32e9b test/unit/FauxReaderTest.cpp
--- a/test/unit/FauxReaderTest.cpp Fri Mar 25 09:45:00 2011 -0700
+++ b/test/unit/FauxReaderTest.cpp Fri Mar 25 09:50:49 2011 -0700
@@ -356,7 +356,7 @@
{
Bounds<double> bounds(1.0, 2.0, 3.0, 101.0, 152.0, 203.0);
libpc::drivers::faux::Reader reader(bounds, 750, libpc::drivers::faux::Reader::Ramp);
-
+
const Schema& schema = reader.getHeader().getSchema();
SchemaLayout layout(schema);
@@ -364,8 +364,8 @@
boost::uint8_t iterators = reader.getIteratorSupport();
- BOOST_CHECK_EQUAL(iterators & StageIterator_Sequential != 0, true);
- BOOST_CHECK_EQUAL(iterators & StageIterator_Random != 0, true);
+ BOOST_CHECK_EQUAL((iterators & StageIterator_Sequential) != 0, true);
+ BOOST_CHECK_EQUAL((iterators & StageIterator_Random) != 0, true);
return;
}
diff -r c198f477d09b -r e6e0f0b32e9b test/unit/LiblasReaderTest.cpp
--- a/test/unit/LiblasReaderTest.cpp Fri Mar 25 09:45:00 2011 -0700
+++ b/test/unit/LiblasReaderTest.cpp Fri Mar 25 09:50:49 2011 -0700
@@ -437,8 +437,8 @@
boost::uint8_t iterators = reader.getIteratorSupport();
- BOOST_CHECK_EQUAL(iterators & StageIterator_Sequential != 0, true);
- BOOST_CHECK_EQUAL(iterators & StageIterator_Random != 0, true);
+ BOOST_CHECK_EQUAL((iterators & StageIterator_Sequential) != 0, true);
+ BOOST_CHECK_EQUAL((iterators & StageIterator_Random) != 0, true);
return;
}
More information about the Liblas-commits
mailing list