[postgis-tickets] r14360 - Change cunit test to respect fact that points are serialized with boxes on them

Paul Ramsey pramsey at cleverelephant.ca
Fri Nov 6 07:02:50 PST 2015


Author: pramsey
Date: 2015-11-06 07:02:49 -0800 (Fri, 06 Nov 2015)
New Revision: 14360

Modified:
   trunk/liblwgeom/cunit/cu_geodetic.c
Log:
Change cunit test to respect fact that points are serialized with boxes on them


Modified: trunk/liblwgeom/cunit/cu_geodetic.c
===================================================================
--- trunk/liblwgeom/cunit/cu_geodetic.c	2015-11-06 14:33:59 UTC (rev 14359)
+++ trunk/liblwgeom/cunit/cu_geodetic.c	2015-11-06 15:02:49 UTC (rev 14360)
@@ -905,7 +905,7 @@
 	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);
 



More information about the postgis-tickets mailing list