Skip to content

Tests fail with Geo::Coordinates::OSGB 2.11 #2

@eserte

Description

@eserte

I see failures when running the test suite:

#   Failed test 'use Geo::UK::Postcode::CodePointOpen;'
#   at t/01-use.t line 3.
#     Tried to use 'Geo::UK::Postcode::CodePointOpen'.
#     Error:  "shift_ll_into_WGS84" is not exported by the Geo::Coordinates::OSGB module
# Can't continue after import errors at /home/cpansand/.cpan/build/2016012312/Geo-UK-Postcode-CodePointOpen-0.005-9nJWL5/blib/lib/Geo/UK/Postcode/CodePointOpen.pm line 9.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2016012312/Geo-UK-Postcode-CodePointOpen-0.005-9nJWL5/blib/lib/Geo/UK/Postcode/CodePointOpen.pm line 9, <DATA> line 309798.
# Compilation failed in require at t/01-use.t line 3, <DATA> line 309798.
# BEGIN failed--compilation aborted at t/01-use.t line 3, <DATA> line 309798.
# Looks like you failed 1 test of 1.

Statistical analysis suggests that the problem happens only with Geo::Coordinates::OSGB 2.11, but not with earlier versions (negative theta is bad):

****************************************************************
Regression 'mod:Geo::Coordinates::OSGB'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    121849983078819872.00
[1='eq_2.08']         0.0000          0.0000       0.59
[2='eq_2.09']         0.0000          0.0000       1.65
[3='eq_2.11']        -1.0000          0.0000    -46727335456549688.00

R^2= 1.000, N= 47, K= 4
****************************************************************

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions