[geos-commits] [SCM] GEOS branch master updated. a48d5847c19d2f8e30f4def9d02b19d2425dfa26

git at osgeo.org git at osgeo.org
Thu Dec 13 12:28:49 PST 2018


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  a48d5847c19d2f8e30f4def9d02b19d2425dfa26 (commit)
      from  f29008a245ee84a7dda0c5202ae7677b2c5fa56c (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 a48d5847c19d2f8e30f4def9d02b19d2425dfa26
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu Dec 13 12:28:39 2018 -0800

    Change types in test to double

diff --git a/tests/unit/algorithm/CGAlgorithms/computeOrientationTest.cpp b/tests/unit/algorithm/CGAlgorithms/computeOrientationTest.cpp
index 8fa0461..2161f8f 100644
--- a/tests/unit/algorithm/CGAlgorithms/computeOrientationTest.cpp
+++ b/tests/unit/algorithm/CGAlgorithms/computeOrientationTest.cpp
@@ -104,9 +104,9 @@ namespace tut
     template<>
     void object::test<4>()
     {
-        ensure( 0 == CGAlgorithmsDD::signOfDet2x2(1, 1, 2, 2));
-        ensure( 1 == CGAlgorithmsDD::signOfDet2x2(1, 1, 2, 3));
-        ensure( -1 == CGAlgorithmsDD::signOfDet2x2(1, 1, 3, 2));
+        ensure( 0 == CGAlgorithmsDD::signOfDet2x2(1.0, 1.0, 2.0, 2.0));
+        ensure( 1 == CGAlgorithmsDD::signOfDet2x2(1.0, 1.0, 2.0, 3.0));
+        ensure( -1 == CGAlgorithmsDD::signOfDet2x2(1.0, 1.0, 3.0, 2.0));
     }
 
 } // namespace tut

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

Summary of changes:
 tests/unit/algorithm/CGAlgorithms/computeOrientationTest.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list