PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ test_wkb_in_circularstring()

static void test_wkb_in_circularstring ( void  )
static

Definition at line 186 of file cu_in_wkb.c.

References cu_wkb_in(), hex_a, and hex_b.

Referenced by wkb_in_suite_setup().

187 {
188  cu_wkb_in("CIRCULARSTRING(0 -2,-2 0,0 2,2 0,0 -2)");
189  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
190 
191  cu_wkb_in("CIRCULARSTRING(-5 0 0 4, 0 5 1 3, 5 0 2 2, 10 -5 3 1, 15 0 4 0)");
192  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
193 
194  cu_wkb_in("SRID=43;CIRCULARSTRING(-5 0 0 4, 0 5 1 3, 5 0 2 2, 10 -5 3 1, 15 0 4 0)");
195  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
196 }
char * hex_a
Definition: cu_in_wkb.c:23
static void cu_wkb_in(char *wkt)
Definition: cu_in_wkb.c:62
char * hex_b
Definition: cu_in_wkb.c:24
Here is the call graph for this function:
Here is the caller graph for this function: