[Liblas-commits] hg-1.6: add test for reserved value in variable record

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Feb 24 16:45:13 EST 2011


details:   http://hg.liblas.orghg-1.6/rev/961c21006361
changeset: 2857:961c21006361
user:      Howard Butler <hobu.inc at gmail.com>
date:      Thu Feb 24 15:44:33 2011 -0600
description:
add test for reserved value in variable record

diffstat:

 test/unit/variablerecord_test.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7d8598a1e169 -r 961c21006361 test/unit/variablerecord_test.cpp
--- a/test/unit/variablerecord_test.cpp	Thu Feb 24 11:53:15 2011 -0800
+++ b/test/unit/variablerecord_test.cpp	Thu Feb 24 15:44:33 2011 -0600
@@ -21,7 +21,7 @@
         void test_default(liblas::VariableRecord const& h)
         {
             ensure_equals("wrong default reserved bytes",
-                h.GetReserved(), boost::uint16_t());
+                h.GetReserved(), 0xAABB);
 
             ensure_equals("wrong default record identifier",
                 h.GetRecordId(), boost::uint16_t());


More information about the Liblas-commits mailing list