[geos-commits] [SCM] GEOS branch 3.7 updated. ede9ba02fd380131be37f42b2275c33fc1ac8461

git at osgeo.org git at osgeo.org
Wed Sep 18 14:17:03 PDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, 3.7 has been updated
       via  ede9ba02fd380131be37f42b2275c33fc1ac8461 (commit)
      from  c1959da6cdd5f53a29dc80b3800f0e04a9854235 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ede9ba02fd380131be37f42b2275c33fc1ac8461
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Sep 18 14:16:47 2019 -0700

    Match test to behaviour, no-op does in fact no-op

diff --git a/tests/unit/precision/CommonBitsTest.cpp b/tests/unit/precision/CommonBitsTest.cpp
index 1114074..30126cd 100644
--- a/tests/unit/precision/CommonBitsTest.cpp
+++ b/tests/unit/precision/CommonBitsTest.cpp
@@ -62,7 +62,7 @@ namespace tut
 		ensure_equals(sizeof(val), 8);
 
 		ensure_equals(CommonBits::zeroLowerBits(val, -1), 0);
-		ensure_equals(CommonBits::zeroLowerBits(val, 0), 0);
+		ensure_equals(CommonBits::zeroLowerBits(val, 0), -1);
 		ensure_equals(CommonBits::zeroLowerBits(val, 1), -2);
 		ensure_equals(CommonBits::zeroLowerBits(val, 2), -4);
 		ensure_equals(CommonBits::zeroLowerBits(val, 16), -65536);

-----------------------------------------------------------------------

Summary of changes:
 tests/unit/precision/CommonBitsTest.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list