PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ test_twkb_in_multilinestring()

static void test_twkb_in_multilinestring ( void  )
static

Definition at line 155 of file cu_in_twkb.c.

156 {
157  cu_twkb_in("MULTILINESTRING((0 0,0 1),(1 1, 10 10))");
158  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
159 
160  cu_twkb_in("MULTILINESTRING((0 0,0 1),EMPTY,(1 1, 10 10))");
161  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
162 
163  cu_twkb_in("MULTILINESTRING((0 0 200000,0 1 10),(1 100000000 23, 10 10 45))");
164  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
165  // printf(" 1st: %s\n 2nd: %s\n", hex_a, hex_b);
166 
167  cu_twkb_in("MULTILINESTRING EMPTY");
168  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
169 }
static char * hex_a
Definition: cu_in_twkb.c:23
static void cu_twkb_in(char *wkt)
Definition: cu_in_twkb.c:53
static char * hex_b
Definition: cu_in_twkb.c:24

References cu_twkb_in(), hex_a, and hex_b.

Referenced by twkb_in_suite_setup().

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