From ec29527ae0475bd88e6909406fd0a70e7ee646d3 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 6 Nov 2015 15:02:49 +0000 Subject: [PATCH] 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 --- liblwgeom/cunit/cu_geodetic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1