PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ test_lwprint_oddball_formats()

static void test_lwprint_oddball_formats ( void  )
static

Definition at line 132 of file cu_print.c.

References test_lwprint_assert_format().

Referenced by print_suite_setup().

133 {
134  test_lwprint_assert_format("POINT(-45.4545 -12.34567)", "DD.DDDMM.MMMSS.SSSC", "12.00020.00044.412S 45.00027.00016.200W");
135  test_lwprint_assert_format("POINT(-45.4545 -12.34567)", "DDMM.MMM", "-1220.740 -4527.270");
136  /* "##." will be printed as "##" */
137  test_lwprint_assert_format("POINT(-45.4545 -12.34567)", "DD.MM.MMM", "-1220.740 -4527.270");
138 }
static void test_lwprint_assert_format(char *point_wkt, const char *format, const char *expected)
Definition: cu_print.c:20
Here is the call graph for this function:
Here is the caller graph for this function: