Regression test geometry.out may have wrong value.

Поиск
Список
Период
Сортировка
Искать

Regression test geometry.out may have wrong value.

От:
John Kelly <johnkelly@netlink.net>
Дата:
Folks,

I built and ran the Postgres 8.0.0 beta 2 on MacOS 10.3.5 and got a 
strange failure on the geometry tests.  It appears as if the result 
(-0,0) is expected (expected/geometry.out), which does not make much 
sense, the actual value was (0,0) as expected.

The actual regression.diff is attached.  Bottom line is the code looks 
correct, but the expected test results looks incorrect.

Thanks,

John Kelly

*** ./expected/geometry.out	Fri Oct 31 22:07:07 2003
--- ./results/geometry.out	Tue Sep 21 08:48:46 2004
***************
*** 117,123 ****
          | (5.1,34.5) | [(1,2),(3,4)]                 | (3,4)
          | (-5,-12)   | [(1,2),(3,4)]                 | (1,2)
          | (10,10)    | [(1,2),(3,4)]                 | (3,4)
!         | (0,0)      | [(0,0),(6,6)]                 | (-0,0)
          | (-10,0)    | [(0,0),(6,6)]                 | (0,0)
          | (-3,4)     | [(0,0),(6,6)]                 | (0.5,0.5)
          | (5.1,34.5) | [(0,0),(6,6)]                 | (6,6)
--- 117,123 ----
          | (5.1,34.5) | [(1,2),(3,4)]                 | (3,4)
          | (-5,-12)   | [(1,2),(3,4)]                 | (1,2)
          | (10,10)    | [(1,2),(3,4)]                 | (3,4)
!         | (0,0)      | [(0,0),(6,6)]                 | (0,0)
          | (-10,0)    | [(0,0),(6,6)]                 | (0,0)
          | (-3,4)     | [(0,0),(6,6)]                 | (0.5,0.5)
          | (5.1,34.5) | [(0,0),(6,6)]                 | (6,6)

======================================================================

FAQ