160 CU_ASSERT_EQUAL( size, 32 );
165 CU_ASSERT_EQUAL( size, 40 );
170 CU_ASSERT_EQUAL( size, 80 );
175 CU_ASSERT_EQUAL( size, 48 );
180 CU_ASSERT_EQUAL( size, 96 );
185 CU_ASSERT_EQUAL( size, 104 );
188 g =
lwgeom_from_wkt(
"POLYGON((-1 -1, -1 2, 2 2, 2 -1, -1 -1), (0 0, 0 1, 1 1, 1 0, 0 0))",
LW_PARSER_CHECK_NONE);
190 CU_ASSERT_EQUAL( size, 184 );
size_t gserialized1_from_lwgeom_size(const LWGEOM *geom)
Return the memory size a GSERIALIZED will occupy for a given LWGEOM.
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)