PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ test_empty()

static void test_empty ( void  )
static

Definition at line 74 of file cu_minimum_bounding_circle.c.

75{
76 LWGEOM* input = lwgeom_from_wkt("POINT EMPTY", LW_PARSER_CHECK_NONE);
77
79 CU_ASSERT_TRUE(result == NULL);
80
81 lwgeom_free(input);
82}
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition cu_print.c:267
void lwgeom_free(LWGEOM *geom)
Definition lwgeom.c:1246
#define LW_PARSER_CHECK_NONE
Definition liblwgeom.h:2149
LWBOUNDINGCIRCLE * lwgeom_calculate_mbc(const LWGEOM *g)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
Definition lwin_wkt.c:940

References LW_PARSER_CHECK_NONE, lwgeom_calculate_mbc(), lwgeom_free(), lwgeom_from_wkt(), and result.

Referenced by minimum_bounding_circle_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: