From: Olivier Courtin Date: Mon, 22 Feb 2010 18:49:40 +0000 (+0000) Subject: Fix comment stuff in cunit X-Git-Tag: 2.0.0alpha1~3209 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f28948e433a24fc05fbb807bf7e77969a8d84ba8;p=postgis Fix comment stuff in cunit git-svn-id: http://svn.osgeo.org/postgis/trunk@5291 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/cunit/cu_out_geojson.c b/liblwgeom/cunit/cu_out_geojson.c index 3cce6fe12..590d34589 100644 --- a/liblwgeom/cunit/cu_out_geojson.c +++ b/liblwgeom/cunit/cu_out_geojson.c @@ -109,7 +109,7 @@ void out_geojson_test_precision(void) "{\"type\":\"Point\",\"coordinates\":[1.111,1.111]}", NULL, 3, 0); - /* huge digits precision, limit is in fact 15 */ + /* 9 digits precision */ do_geojson_test( "POINT(1.2345678901234 1.2345678901234)", "{\"type\":\"Point\",\"coordinates\":[1.23456789,1.23456789]}", @@ -320,7 +320,7 @@ void out_geojson_test_geoms(void) "MULTICURVE((5 5,3 5,3 3,0 3),CIRCULARSTRING(0 0,2 1,2 2))", "lwgeom_to_geojson: 'MultiCurve' geometry type not supported"); - /* GML2 - MultiSurface */ + /* MultiSurface */ do_geojson_unsupported( "MULTISURFACE(CURVEPOLYGON(CIRCULARSTRING(-2 0,-1 -1,0 0,1 -1,2 0,0 2,-2 0),(-1 0,0 0.5,1 0,0 1,-1 0)),((7 8,10 10,6 14,4 11,7 8)))", "lwgeom_to_geojson: 'MultiSurface' geometry type not supported"); diff --git a/liblwgeom/cunit/cu_out_gml.c b/liblwgeom/cunit/cu_out_gml.c index b1f60f6db..6b49f26c5 100644 --- a/liblwgeom/cunit/cu_out_gml.c +++ b/liblwgeom/cunit/cu_out_gml.c @@ -158,13 +158,13 @@ void out_gml_test_precision(void) NULL, 3, 0); - /* GML2 - huge digits precision, limit is in fact 15 */ + /* GML2 - 9 digits precision */ do_gml2_test( "POINT(1.2345678901234 1.2345678901234)", "1.23456789,1.23456789", NULL, 9); - /* GML3 - huge digits precision, limit is in fact 15 */ + /* GML3 - 9 digits precision */ do_gml3_test( "POINT(1.2345678901234 1.2345678901234)", "1.23456789 1.23456789", diff --git a/liblwgeom/cunit/cu_out_kml.c b/liblwgeom/cunit/cu_out_kml.c index 4c0ab306c..b6d2b7081 100644 --- a/liblwgeom/cunit/cu_out_kml.c +++ b/liblwgeom/cunit/cu_out_kml.c @@ -107,7 +107,7 @@ void out_kml_test_precision(void) "1.111,1.111", 3); - /* huge digits precision, limit is in fact 15 */ + /* 9 digits precision */ do_kml_test( "POINT(1.2345678901234 1.2345678901234)", "1.23456789,1.23456789", @@ -206,7 +206,7 @@ void out_kml_test_geoms(void) "MULTICURVE((5 5,3 5,3 3,0 3),CIRCULARSTRING(0 0,2 1,2 2))", "lwgeom_to_kml2: 'MultiCurve' geometry type not supported"); - /* GML2 - MultiSurface */ + /* MultiSurface */ do_kml_unsupported( "MULTISURFACE(CURVEPOLYGON(CIRCULARSTRING(-2 0,-1 -1,0 0,1 -1,2 0,0 2,-2 0),(-1 0,0 0.5,1 0,0 1,-1 0)),((7 8,10 10,6 14,4 11,7 8)))", "lwgeom_to_kml2: 'MultiSurface' geometry type not supported");