File: sfcgal_cTest.patch

package info (click to toggle)
sfcgal 1.3.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,208 kB
  • sloc: cpp: 36,070; ansic: 1,074; sh: 110; makefile: 39
file content (15 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix test failure.
Author: Bas Couwenberg <sebastic@debian.org>
Bug: https://gitlab.com/Oslandia/SFCGAL/-/merge_requests/237

--- a/test/unit/SFCGAL/capi/sfcgal_cTest.cpp
+++ b/test/unit/SFCGAL/capi/sfcgal_cTest.cpp
@@ -117,7 +117,7 @@ BOOST_AUTO_TEST_CASE( testApproximateMed
     // NOTE: length not available in C-API
     // algorithm::length
     //BOOST_CHECK_EQUAL( 71.56, round(algorithm::length(sk)*100)/100; );
-    BOOST_CHECK_EQUAL( 11, sfcgal_geometry_collection_num_geometries( sk ) );
+    BOOST_CHECK_EQUAL( 10, sfcgal_geometry_collection_num_geometries( sk ) );
 
     sfcgal_geometry_delete(sk);
 }