[geos-commits] [SCM] GEOS branch master updated. 10b58fc8482345800fe377e7cd8697c92ac2ece1

git at osgeo.org git at osgeo.org
Wed Sep 18 17:40:08 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, master has been updated
       via  10b58fc8482345800fe377e7cd8697c92ac2ece1 (commit)
       via  ba98e904ffaa1d7baffa0326de54fd19d9096f12 (commit)
      from  27f86283ab954a905f65495067981276bd1f5fe1 (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 10b58fc8482345800fe377e7cd8697c92ac2ece1
Merge: ba98e90 27f8628
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Sep 18 17:39:55 2019 -0700

    Merge branch 'master' of https://git.osgeo.org/gogs/geos/geos


commit ba98e904ffaa1d7baffa0326de54fd19d9096f12
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Sep 18 17:39:33 2019 -0700

    Match test to behaviour in no-op case (leave -1 in place)

diff --git a/tests/unit/precision/CommonBitsTest.cpp b/tests/unit/precision/CommonBitsTest.cpp
index 3ddea74..068627f 100644
--- a/tests/unit/precision/CommonBitsTest.cpp
+++ b/tests/unit/precision/CommonBitsTest.cpp
@@ -62,7 +62,7 @@ void object::test<4>()
     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