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

Definition at line 79 of file cu_out_wkb.c.

References cu_wkb(), and s.

Referenced by wkb_out_suite_setup().

80 {
81  cu_wkb("LINESTRING(0 0,1 1)");
82  CU_ASSERT_STRING_EQUAL(s,"000000000200000002000000000000000000000000000000003FF00000000000003FF0000000000000");
83 
84  cu_wkb("LINESTRING(0 0 1,1 1 2,2 2 3)");
85  CU_ASSERT_STRING_EQUAL(s,"008000000200000003000000000000000000000000000000003FF00000000000003FF00000000000003FF00000000000004000000000000000400000000000000040000000000000004008000000000000");
86 
87  cu_wkb("LINESTRING EMPTY");
88  CU_ASSERT_STRING_EQUAL(s,"000000000200000000");
89 }
static void cu_wkb(char *wkt)
Definition: cu_out_wkb.c:61
char * s
Definition: cu_out_wkb.c:24

Here is the call graph for this function:

Here is the caller graph for this function: