PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ test_empty()

static void test_empty ( void  )
static

Definition at line 66 of file cu_minimum_bounding_circle.c.

67 {
68  LWGEOM* input = lwgeom_from_wkt("POINT EMPTY", LW_PARSER_CHECK_NONE);
69 
70  LWBOUNDINGCIRCLE* result = lwgeom_calculate_mbc(input);
71  CU_ASSERT_TRUE(result == NULL);
72 
73  lwgeom_free(input);
74 }
void lwgeom_free(LWGEOM *geom)
Definition: lwgeom.c:1144
#define LW_PARSER_CHECK_NONE
Definition: liblwgeom.h:2005
LWBOUNDINGCIRCLE * lwgeom_calculate_mbc(const LWGEOM *g)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
Definition: lwin_wkt.c:904

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

Referenced by minimum_bounding_circle_suite_setup().

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