Definition at line 115 of file cu_out_wkb.c.
References cu_wkb(), cu_wkb_from_hexwkb(), and s.
Referenced by wkb_out_suite_setup().
117 cu_wkb(
"SRID=4;POLYGON((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0))");
118 CU_ASSERT_STRING_EQUAL(
s,
"00A000000300000004000000010000000500000000000000000000000000000000000000000000000000000000000000003FF000000000000000000000000000003FF00000000000003FF000000000000000000000000000003FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000");
120 cu_wkb(
"SRID=14;POLYGON((0 0 0 1,0 1 0 2,1 1 0 3,1 0 0 4,0 0 0 5))");
121 CU_ASSERT_STRING_EQUAL(
s,
"00E00000030000000E00000001000000050000000000000000000000000000000000000000000000003FF000000000000000000000000000003FF0000000000000000000000000000040000000000000003FF00000000000003FF0000000000000000000000000000040080000000000003FF00000000000000000000000000000000000000000000040100000000000000000000000000000000000000000000000000000000000004014000000000000");
123 cu_wkb(
"SRID=4;POLYGON((0 0 0 1,0 1 0 2,1 1 0 3,1 0 0 4,0 0 0 5))");
124 CU_ASSERT_STRING_EQUAL(
s,
"00E00000030000000400000001000000050000000000000000000000000000000000000000000000003FF000000000000000000000000000003FF0000000000000000000000000000040000000000000003FF00000000000003FF0000000000000000000000000000040080000000000003FF00000000000000000000000000000000000000000000040100000000000000000000000000000000000000000000000000000000000004014000000000000");
127 CU_ASSERT_STRING_EQUAL(
s,
"000000000300000000");
134 CU_ASSERT_STRING_EQUAL(
s,
"000000000300000000");
static void cu_wkb(char *wkt)
static void cu_wkb_from_hexwkb(char *hexwkb)