From c01dd43e997c85df2f10c454060fa0c51c5e6054 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Mon, 5 Oct 2009 14:37:05 +0000 Subject: [PATCH] Add another printing block git-svn-id: http://svn.osgeo.org/postgis/trunk@4592 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/cunit/cu_geodetic.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/liblwgeom/cunit/cu_geodetic.c b/liblwgeom/cunit/cu_geodetic.c index 03ba57c3e..d38b9dc99 100644 --- a/liblwgeom/cunit/cu_geodetic.c +++ b/liblwgeom/cunit/cu_geodetic.c @@ -315,6 +315,13 @@ void test_edge_intersection(void) edge_set(0.0, -1.0, 0.0, 0.0, &e2); rv = edge_intersection(e1, e2, &g); point_rad2deg(&g); +#if 0 + printf("\n"); + printf("LINESTRING(%.8g %.8g, %.8g %.8g)\n", e1.start.lon, e1.start.lat, e1.end.lon, e1.end.lat); + printf("LINESTRING(%.8g %.8g, %.8g %.8g)\n", e2.start.lon, e2.start.lat, e2.end.lon, e2.end.lat); + printf("g = (%.9g %.9g)\n", g.lon, g.lat); + printf("rv = %d\n", rv); +#endif CU_ASSERT_DOUBLE_EQUAL(g.lon, 0.0, 0.00001); CU_ASSERT_EQUAL(rv, LW_TRUE); -- 2.50.1