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

◆ basic_test()

static void basic_test ( void  )
static

Definition at line 50 of file cu_minimum_bounding_circle.c.

51{
52 uint32_t i;
53
54 char* inputs[] =
55 {
56 "POLYGON((26426 65078,26531 65242,26075 65136,26096 65427,26426 65078))",
57 "POINT (17 253)",
58 "TRIANGLE ((0 0, 10 0, 10 10, 0 0))",
59 "LINESTRING (17 253, -44 28, 33 11, 26 44)",
60 "MULTIPOINT ((0 0), (0 0), (0 0), (0 0))",
61 "POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))",
62 "LINESTRING (-48546889 37039202, -37039202 -48546889)"
63 };
64
65 for (i = 0; i < sizeof(inputs)/sizeof(LWGEOM*); i++)
66 {
68 mbc_test(input);
69 lwgeom_free(input);
70 }
71
72}
char * inputs[]
Definition cu_iterator.c:17
static void mbc_test(LWGEOM *g)
void lwgeom_free(LWGEOM *geom)
Definition lwgeom.c:1246
#define LW_PARSER_CHECK_NONE
Definition liblwgeom.h:2149
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
Definition lwin_wkt.c:940

References inputs, LW_PARSER_CHECK_NONE, lwgeom_free(), lwgeom_from_wkt(), and mbc_test().

Referenced by minimum_bounding_circle_suite_setup().

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