PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ test_wkb_out_circularstring()

static void test_wkb_out_circularstring ( void  )
static

Definition at line 175 of file cu_out_wkb.c.

176 {
177  cu_wkb("CIRCULARSTRING(0 -2,-2 0,0 2,2 0,0 -2)");
178  CU_ASSERT_STRING_EQUAL(s,"0000000008000000050000000000000000C000000000000000C000000000000000000000000000000000000000000000004000000000000000400000000000000000000000000000000000000000000000C000000000000000");
179 
180  cu_wkb("CIRCULARSTRING(-5 0 0 4, 0 5 1 3, 5 0 2 2, 10 -5 3 1, 15 0 4 0)");
181  CU_ASSERT_STRING_EQUAL(s,"00C000000800000005C014000000000000000000000000000000000000000000004010000000000000000000000000000040140000000000003FF0000000000000400800000000000040140000000000000000000000000000400000000000000040000000000000004024000000000000C01400000000000040080000000000003FF0000000000000402E000000000000000000000000000040100000000000000000000000000000");
182 
183  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)");
184  CU_ASSERT_STRING_EQUAL(s,"00E00000080000002B00000005C014000000000000000000000000000000000000000000004010000000000000000000000000000040140000000000003FF0000000000000400800000000000040140000000000000000000000000000400000000000000040000000000000004024000000000000C01400000000000040080000000000003FF0000000000000402E000000000000000000000000000040100000000000000000000000000000");
185 }
static void cu_wkb(char *wkt)
Definition: cu_out_wkb.c:60
static char * s
Definition: cu_out_wkb.c:23

References cu_wkb(), and s.

Referenced by wkb_out_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: