[Liblas-commits] r979 - trunk/test/unit
liblas-commits at liblas.org
liblas-commits at liblas.org
Fri Dec 26 00:31:13 EST 2008
Author: hobu
Date: Fri Dec 26 00:31:12 2008
New Revision: 979
URL: http://liblas.org/changeset/979
Log:
fix test to use qualified type names
Modified:
trunk/test/unit/lasreader_iterator_test.cpp
Modified: trunk/test/unit/lasreader_iterator_test.cpp
==============================================================================
--- trunk/test/unit/lasreader_iterator_test.cpp (original)
+++ trunk/test/unit/lasreader_iterator_test.cpp Fri Dec 26 00:31:12 2008
@@ -123,7 +123,7 @@
ensure_distance(it->GetY(), double(4834500), 0.0001);
ensure_distance(it->GetZ(), double(51.53), 0.0001);
ensure_equals(it->GetIntensity(), 670);
- ensure_equals(it->GetClassification(), uint8_t(1));
+ ensure_equals(it->GetClassification(), liblas::uint8_t(1));
ensure_equals(it->GetScanAngleRank(), 0);
ensure_equals(it->GetUserData(), 3);
ensure_equals(it->GetScanFlags(), 9);
@@ -179,11 +179,11 @@
template<>
void to::test<13>()
{
- uint32_t const cnt = reader_.GetHeader().GetPointRecordsCount();
+ liblas::uint32_t const cnt = reader_.GetHeader().GetPointRecordsCount();
lasreader_iterator it(reader_); // move to 1st point
lasreader_iterator end;
- uint32_t s = 0;
+ liblas::uint32_t s = 0;
while (end != it)
{
s++;
@@ -198,7 +198,7 @@
template<>
void to::test<14>()
{
- uint32_t const cnt = reader_.GetHeader().GetPointRecordsCount();
+ liblas::uint32_t const cnt = reader_.GetHeader().GetPointRecordsCount();
lasreader_iterator it(reader_); // move to 1st point
lasreader_iterator end;
@@ -225,7 +225,7 @@
template<>
void to::test<16>()
{
- uint32_t const size = reader_.GetHeader().GetPointRecordsCount();
+ liblas::uint32_t const size = reader_.GetHeader().GetPointRecordsCount();
lasreader_iterator it(reader_);
lasreader_iterator end;
More information about the Liblas-commits
mailing list