PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ test_twkb_out_multipolygon()

static void test_twkb_out_multipolygon ( void  )
static

Definition at line 180 of file cu_out_twkb.c.

References cu_twkb(), and s.

Referenced by twkb_out_suite_setup().

181 {
182  cu_twkb("MULTIPOLYGON(((0 0 0, 0 1 0,1 1 0,1 0 0, 0 0 0)),((-1 -1 0,-1 2 0,2 2 0,2 -1 0,-1 -1 0),(0 0 0, 0 1 0,1 1 0,1 0 0, 0 0 0)))", 0, 0, 0, 0);
183  CU_ASSERT_STRING_EQUAL(s,"060801020105000000000200020000000100010000020501010000060006000000050005000005020200000200020000000100010000");
184 }
char * s
Definition: cu_out_twkb.c:24
static void cu_twkb(char *wkt, int8_t prec_xy, int8_t prec_z, int8_t prec_m, uint8_t variant)
Definition: cu_out_twkb.c:55
Here is the call graph for this function:
Here is the caller graph for this function: