Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing unit test in Python package #40

Open
kordejong opened this issue Nov 6, 2015 · 0 comments
Open

Fix failing unit test in Python package #40

kordejong opened this issue Nov 6, 2015 · 0 comments

Comments

@kordejong
Copy link
Member

python/algorithm/space/focal/test/python_test.cc
======================================================================
FAIL: test_pcraster_example (slope_test.SlopeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "slope_test.py", line 46, in test_pcraster_example
    self.assertMaskedRasterEqual(raster_we_got, raster_we_want)
  File "/home/kor/development/objects/Debug/fern/bin/fern/test/test_case.py", line 70, in assertMaskedRasterEqual
    values_we_want[row][col], row, col))
AssertionError: 2.6584508419 != 2.65845108032 for cell 4, 3

----------------------------------------------------------------------
Ran 1 test in 0.023s

FAILED (failures=1)
Running 1 test case...
/home/kor/development/projects/fern/source/fern/python/algorithm/space/focal/test/python_test.cc(18): error in "unit_test": check result == 0 failed [256 != 0]

*** 1 failure detected in test suite "fern fern_python_extension_algorithm_space_focal"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant