PostGIS  2.5.0dev-r@@SVN_REVISION@@
static void test_wkb_out_linestring ( void  )
static

Definition at line 103 of file cu_out_wkb.c.

References cu_wkb(), and s.

Referenced by wkb_out_suite_setup().

104 {
105  cu_wkb("LINESTRING(0 0,1 1)");
106  CU_ASSERT_STRING_EQUAL(s,"000000000200000002000000000000000000000000000000003FF00000000000003FF0000000000000");
107 
108  cu_wkb("LINESTRING(0 0 1,1 1 2,2 2 3)");
109  CU_ASSERT_STRING_EQUAL(s,"008000000200000003000000000000000000000000000000003FF00000000000003FF00000000000003FF00000000000004000000000000000400000000000000040000000000000004008000000000000");
110 
111  cu_wkb("LINESTRING EMPTY");
112  CU_ASSERT_STRING_EQUAL(s,"000000000200000000");
113 }
static void cu_wkb(char *wkt)
Definition: cu_out_wkb.c:61
char * s
Definition: cu_out_wkb.c:23

Here is the call graph for this function:

Here is the caller graph for this function: