Comment 1 for bug 975840

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I figured I might as well replace the value to make it calculate the Y distance as well. Though after doing this, the test started failing, so it was either done this for a reason or I have uncovered some bug which was hidden.

Test project /home/user/widelands/build
    Start 1: test_economy
1/3 Test #1: test_economy .....................***Failed 0.03 sec
Running 21 test cases...
/home/user/widelands/src/economy/test/test_routing.cc(624): error in "priced_routing": check route.has_chain(chain) failed
lastserial: 0
lastserial: 0
lastserial: 0

*** 1 failure detected in test suite "Economy"

    Start 2: test_io_filesystem
2/3 Test #2: test_io_filesystem ............... Passed 0.01 sec
    Start 3: test_widelands_scripting
3/3 Test #3: test_widelands_scripting ......... Passed 0.01 sec