[Liblas-commits] hg-main-tree: debugging on linux

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Aug 15 10:36:04 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/5f618629cc5f
changeset: 1090:5f618629cc5f
user:      mpg
date:      Mon Aug 15 07:35:40 2011 -0700
description:
debugging on linux

diffstat:

 test/unit/SignallerTest.cpp |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 483284c82936 -r 5f618629cc5f test/unit/SignallerTest.cpp
--- a/test/unit/SignallerTest.cpp	Mon Aug 15 07:34:03 2011 -0700
+++ b/test/unit/SignallerTest.cpp	Mon Aug 15 07:35:40 2011 -0700
@@ -103,19 +103,19 @@
 
     ok = worker.tick();
     BOOST_CHECK(ok);
-    BOOST_CHECK(sig.m_perc == 1);
+    BOOST_CHECK_EQUAL(sig.m_perc, 1);
     ok = worker.tick();
     BOOST_CHECK(ok);
-    BOOST_CHECK(sig.m_perc == 2);
+    BOOST_CHECK_EQUAL(sig.m_perc, 2);
     ok = worker.tick();
     BOOST_CHECK(ok);
-    BOOST_CHECK(sig.m_perc == 3);
+    BOOST_CHECK_EQUAL(sig.m_perc, 3);
 
     sig.m_stop = true;
 
     ok = worker.tick();
     BOOST_CHECK(!ok);
-    BOOST_CHECK(sig.m_perc == 3);
+    BOOST_CHECK_EQUAL(sig.m_perc, 3);
 
     return;
 }


More information about the Liblas-commits mailing list