PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ 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:262
void lwgeom_free(LWGEOM *geom)
Definition: lwgeom.c:1155
#define LW_PARSER_CHECK_NONE
Definition: liblwgeom.h:2114
LWBOUNDINGCIRCLE * lwgeom_calculate_mbc(const LWGEOM *g)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
Definition: lwin_wkt.c:905

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: