Definition at line 1334 of file cu_algorithm.c.
1343 CU_ASSERT_EQUAL(mpt->
ngeoms,100);
1350 CU_ASSERT_EQUAL(mpt->
ngeoms,1);
1354 CU_ASSERT_EQUAL(mpt, NULL);
1360 geom =
lwgeom_from_wkt(
"MULTIPOLYGON(((10 0,0 10,10 20,20 10,10 0)),((0 0,5 0,5 5,0 5,0 0)))",
LW_PARSER_CHECK_NONE);
1363 CU_ASSERT_EQUAL(mpt->
ngeoms,1000);
1367 CU_ASSERT_EQUAL(mpt->
ngeoms,1);
void lwmpoint_free(LWMPOINT *mpt)
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
LWMPOINT * lwgeom_to_points(const LWGEOM *lwgeom, uint32_t npoints)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
References LW_PARSER_CHECK_NONE, lwgeom_free(), lwgeom_from_wkt(), lwgeom_to_points(), lwmpoint_free(), and LWMPOINT::ngeoms.
Referenced by algorithms_suite_setup().