DGtal-team / DGtal

Digital Geometry Tools and Algorithm Library
https://dgtal.org
GNU Lesser General Public License v3.0
370 stars 115 forks source link

testSurfaceHelper failed #906

Closed jlevallois closed 10 years ago

jlevallois commented 10 years ago

Start 124: testSurfaceHelper 124/167 Test 124: testSurfaceHelper .........................._*Exception: Other 2.38 sec [...] The following tests FAILED: 124 - testSurfaceHelper (OTHER_FAULT) Errors while running CTest make: _* [test] Erreur 8

./testSurfaceHelper

New Block [Testing class SurfaceHelper] Args: ./testSurfaceHelper
New Block [Testing computation of interior from a freeman chain ...] Domain defined by :[PointVector] {7, 8} [PointVector] {174, 80} Interior size: 3082 (awaited: 3082) Exterior size: 9182 (awaited: 9182) Interior size2: 196316 (awaited: 196316) [operator<<] PointVector [default style] [draw] [...] [operator<<] PointVector [default style] [draw]

[1] 30485 abort ./testSurfaceHelper

jlevallois commented 10 years ago

I don't know why Travis doesn't fail ...

jlevallois commented 10 years ago

I also have this warning when compiling:

DGtal/tests/topology/testSurfaceHelper.cpp: In function ‘bool testComputeInterior()’: DGtal/tests/topology/testSurfaceHelper.cpp:62:43: warning: typedef ‘Cell’ locally defined but not used [-Wunused-local-typedefs] typedef KhalimskySpaceND<2, int>::Cell Cell;

jlevallois commented 10 years ago

resolved in attached PR

dcoeurjo commented 10 years ago

Fixed in #907 Thanks;)