PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ test_lwprint_oddball_formats()

static void test_lwprint_oddball_formats ( void  )
static

Definition at line 134 of file cu_print.c.

References test_lwprint_assert_format().

Referenced by print_suite_setup().

135 {
136  test_lwprint_assert_format("POINT(-45.4545 -12.34567)", "DD.DDDMM.MMMSS.SSSC", "12.00020.00044.412S 45.00027.00016.200W");
137  test_lwprint_assert_format("POINT(-45.4545 -12.34567)", "DDMM.MMM", "-1220.740 -4527.270");
138  /* "##." will be printed as "##" */
139  test_lwprint_assert_format("POINT(-45.4545 -12.34567)", "DD.MM.MMM", "-1220.740 -4527.270");
140 }
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: