From: Paul Ramsey Date: Tue, 25 Mar 2014 08:35:54 +0000 (+0000) Subject: Quiet tests X-Git-Tag: 2.2.0rc1~1182 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a028761a2f8ed5407d6a988cfa268cfcc51793f;p=postgis Quiet tests git-svn-id: http://svn.osgeo.org/postgis/trunk@12345 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/cunit/cu_tree.c b/liblwgeom/cunit/cu_tree.c index 6a657f86d..6ea7b30dc 100644 --- a/liblwgeom/cunit/cu_tree.c +++ b/liblwgeom/cunit/cu_tree.c @@ -273,11 +273,11 @@ static void test_tree_circ_distance(void) c2 = lwgeom_calculate_circ_tree(lwg2); d1 = circ_tree_distance_tree(c1, c2, &s, threshold); d2 = lwgeom_distance_spheroid(lwg1, lwg2, &s, threshold); - // printf("d1 = %g d2 = %g\n", d1 * WGS84_RADIUS, d2 * WGS84_RADIUS); - // printf("line\n"); - // circ_tree_print(c1, 0); - // printf("point\n"); - // circ_tree_print(c2, 0); +// printf("d1 = %g d2 = %g\n", d1 * WGS84_RADIUS, d2 * WGS84_RADIUS); +// printf("line\n"); +// circ_tree_print(c1, 0); +// printf("point\n"); +// circ_tree_print(c2, 0); circ_tree_free(c1); circ_tree_free(c2); lwgeom_free(lwg1); @@ -291,11 +291,11 @@ static void test_tree_circ_distance(void) c2 = lwgeom_calculate_circ_tree(lwg2); d1 = circ_tree_distance_tree(c1, c2, &s, threshold); d2 = lwgeom_distance_spheroid(lwg1, lwg2, &s, threshold); - printf("d1 = %g d2 = %g\n", d1 * WGS84_RADIUS, d2 * WGS84_RADIUS); - // printf("multipoint\n"); - circ_tree_print(c1, 0); - // printf("polygon\n"); - circ_tree_print(c2, 0); +// printf("d1 = %g d2 = %g\n", d1 * WGS84_RADIUS, d2 * WGS84_RADIUS); +// printf("multipoint\n"); +// circ_tree_print(c1, 0); +// printf("polygon\n"); +// circ_tree_print(c2, 0); circ_tree_free(c1); circ_tree_free(c2); lwgeom_free(lwg1); @@ -307,16 +307,16 @@ static void test_tree_circ_distance(void) lwg2 = lwgeom_from_wkt("MULTIPOLYGON(((-9.1111111 40,-9.14954053919354 39.6098193559677,-9.26335203497743 39.2346331352698,-9.44817187539491 38.8888595339608,-9.6968975376269 38.5857864376269,-9.99997063396079 38.3370607753949,-10.3457442352698 38.1522409349774,-10.7209304559677 38.0384294391935,-11.1111111 38,-11.5012917440323 38.0384294391935,-11.8764779647302 38.1522409349774,-12.2222515660392 38.3370607753949,-12.5253246623731 38.5857864376269,-12.7740503246051 38.8888595339608,-12.9588701650226 39.2346331352698,-13.0726816608065 39.6098193559677,-13.1111111 40,-13.0726816608065 40.3901806440322,-12.9588701650226 40.7653668647302,-12.7740503246051 41.1111404660392,-12.5253246623731 41.4142135623731,-12.2222515660392 41.6629392246051,-11.8764779647302 41.8477590650226,-11.5012917440323 41.9615705608065,-11.1111111 42,-10.7209304559678 41.9615705608065,-10.3457442352698 41.8477590650226,-9.9999706339608 41.6629392246051,-9.69689753762691 41.4142135623731,-9.44817187539491 41.1111404660392,-9.26335203497743 40.7653668647302,-9.14954053919354 40.3901806440323,-9.1111111 40)))", LW_PARSER_CHECK_NONE); c1 = lwgeom_calculate_circ_tree(lwg1); c2 = lwgeom_calculate_circ_tree(lwg2); - printf("\n"); - circ_tree_print(c1, 0); - printf("\n"); - circ_tree_print(c2, 0); - printf("\n"); +// printf("\n"); +// circ_tree_print(c1, 0); +// printf("\n"); +// circ_tree_print(c2, 0); +// printf("\n"); d1 = lwgeom_distance_spheroid(lwg1, lwg2, &s, threshold); d2 = circ_tree_distance_tree(c1, c2, &s, threshold); d3 = circ_tree_distance_tree(c1, c2, &s, threshold); d4 = circ_tree_distance_tree(c1, c2, &s, threshold); - printf("\n d1-no-tree %20.20g\n d2 %20.20g\n d3 %20.20g\n d4 %20.20g\n", d1, d2, d3, d4); +// printf("\n d1-no-tree %20.20g\n d2 %20.20g\n d3 %20.20g\n d4 %20.20g\n", d1, d2, d3, d4); circ_tree_free(c1); circ_tree_free(c2); lwgeom_free(lwg1);