From 4983e1287f267253f7dc3641b55aef0b5d7412a0 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 30 Sep 2009 18:57:23 +0000 Subject: [PATCH] Move defines around a bit. git-svn-id: http://svn.osgeo.org/postgis/trunk@4563 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/cunit/cu_geodetic.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/liblwgeom/cunit/cu_geodetic.c b/liblwgeom/cunit/cu_geodetic.c index eb52560ff..2ccdb5471 100644 --- a/liblwgeom/cunit/cu_geodetic.c +++ b/liblwgeom/cunit/cu_geodetic.c @@ -29,9 +29,7 @@ CU_pSuite register_geodetic_suite(void) if ( (NULL == CU_add_test(pSuite, "test_signum()", test_signum)) || -#if RANDOM_TEST (NULL == CU_add_test(pSuite, "test_gbox_from_spherical_coordinates()", test_gbox_from_spherical_coordinates)) || -#endif (NULL == CU_add_test(pSuite, "test_gserialized_get_gbox_geocentric()", test_gserialized_get_gbox_geocentric)) || (NULL == CU_add_test(pSuite, "test_clairaut()", test_clairaut)) || (NULL == CU_add_test(pSuite, "test_edge_intersection()", test_edge_intersection)) @@ -69,12 +67,12 @@ void test_signum(void) CU_ASSERT_EQUAL(signum(5.0),1); } -#if RANDOM_TEST void test_gbox_from_spherical_coordinates(void) { +#if RANDOM_TEST const double gtolerance = 0.000001; - const int loops = 5; + const int loops = 100; int i; double ll[64]; GBOX *gbox; @@ -141,10 +139,9 @@ void test_gbox_from_spherical_coordinates(void) lwfree(lwline); lwfree(pa); - +#endif /* RANDOM_TEST */ } -#endif /* RANDOM_TEST */ void test_clairaut(void) { -- 2.50.0