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

Definition at line 140 of file cu_out_wkb.c.

References cu_wkb(), and s.

Referenced by wkb_out_suite_setup().

141 {
142  cu_wkb("CIRCULARSTRING(0 -2,-2 0,0 2,2 0,0 -2)");
143  CU_ASSERT_STRING_EQUAL(s,"0000000008000000050000000000000000C000000000000000C000000000000000000000000000000000000000000000004000000000000000400000000000000000000000000000000000000000000000C000000000000000");
144 
145  cu_wkb("CIRCULARSTRING(-5 0 0 4, 0 5 1 3, 5 0 2 2, 10 -5 3 1, 15 0 4 0)");
146  CU_ASSERT_STRING_EQUAL(s,"00C000000800000005C014000000000000000000000000000000000000000000004010000000000000000000000000000040140000000000003FF0000000000000400800000000000040140000000000000000000000000000400000000000000040000000000000004024000000000000C01400000000000040080000000000003FF0000000000000402E000000000000000000000000000040100000000000000000000000000000");
147 
148  cu_wkb("SRID=43;CIRCULARSTRING(-5 0 0 4, 0 5 1 3, 5 0 2 2, 10 -5 3 1, 15 0 4 0)");
149  CU_ASSERT_STRING_EQUAL(s,"00E00000080000002B00000005C014000000000000000000000000000000000000000000004010000000000000000000000000000040140000000000003FF0000000000000400800000000000040140000000000000000000000000000400000000000000040000000000000004024000000000000C01400000000000040080000000000003FF0000000000000402E000000000000000000000000000040100000000000000000000000000000");
150 }
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: