From: Paul Ramsey Date: Fri, 6 Nov 2015 15:02:49 +0000 (+0000) Subject: Change cunit test to respect fact that points are serialized with boxes on them X-Git-Tag: 2.3.0beta1~392 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec29527ae0475bd88e6909406fd0a70e7ee646d3;p=postgis Change cunit test to respect fact that points are serialized with boxes on them git-svn-id: http://svn.osgeo.org/postgis/trunk@14360 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/cunit/cu_geodetic.c b/liblwgeom/cunit/cu_geodetic.c index 51d383dac..3cd4a3044 100644 --- a/liblwgeom/cunit/cu_geodetic.c +++ b/liblwgeom/cunit/cu_geodetic.c @@ -905,7 +905,7 @@ static void test_gserialized_from_lwgeom(void) type = gserialized_get_type(g); CU_ASSERT_EQUAL( type, POINTTYPE ); inspect = (double*)g; - CU_ASSERT_EQUAL(inspect[3], 0.2); + CU_ASSERT_EQUAL(inspect[6], 0.2); lwgeom_free(geom); lwfree(g);