From: Paul Ramsey Date: Thu, 25 Jun 2015 19:33:50 +0000 (+0000) Subject: Make test case not overlap nan empty case X-Git-Tag: 2.2.0rc1~330 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cae1cb622b0c5b77d6e646cb62dca46a3e2519e5;p=postgis Make test case not overlap nan empty case git-svn-id: http://svn.osgeo.org/postgis/trunk@13706 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/cunit/cu_libgeom.c b/liblwgeom/cunit/cu_libgeom.c index 99119f7f7..ea707cecf 100644 --- a/liblwgeom/cunit/cu_libgeom.c +++ b/liblwgeom/cunit/cu_libgeom.c @@ -215,8 +215,8 @@ static void test_lwgeom_calculate_gbox(void) lwgeom_free(g); /* Geometry with NaN 0101000020E8640000000000000000F8FF000000000000F8FF */ - /* NaN should show up in bbox */ - g = lwgeom_from_hexwkb("0101000020E8640000000000000000F8FF000000000000F8FF", LW_PARSER_CHECK_NONE); + /* NaN should show up in bbox for "SRID=4326;POINT(0 NaN)" */ + g = lwgeom_from_hexwkb("0101000020E86400000000000000000000000000000000F8FF", LW_PARSER_CHECK_NONE); lwgeom_calculate_gbox_cartesian(g, &b); CU_ASSERT(isnan(b.ymax)); lwgeom_free(g);