PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ test_wkt_out_linestring()

static void test_wkt_out_linestring ( void  )
static

Definition at line 84 of file cu_out_wkt.c.

References cu_wkt(), and WKT_ISO.

Referenced by wkt_out_suite_setup().

85 {
86  CU_ASSERT_STRING_EQUAL(cu_wkt("LINESTRING(1 2 3 4,5 6 7 8)",WKT_ISO), "LINESTRING ZM (1 2 3 4,5 6 7 8)");
87  CU_ASSERT_STRING_EQUAL(cu_wkt("LINESTRING(1 2 3,5 6 7)",WKT_ISO), "LINESTRING Z (1 2 3,5 6 7)");
88  CU_ASSERT_STRING_EQUAL(cu_wkt("LINESTRINGM(1 2 3,5 6 7)",WKT_ISO), "LINESTRING M (1 2 3,5 6 7)");
89 }
#define WKT_ISO
Definition: liblwgeom.h:2055
static char * cu_wkt(char *wkt, uint8_t variant)
Definition: cu_out_wkt.c:46
Here is the call graph for this function:
Here is the caller graph for this function: