test_routing.cc:97 Same expression on both sides of '-'
Bug #975840 reported by
Hans Joachim Desserud
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
(Found by utils/create_
Line 97 in src/economy/
Related branches
lp:~hjd/widelands/bug-975840
(Merged)
To post a comment you must log in.
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 ....... ....... ***Failed 0.03 sec widelands/ src/economy/ test/test_ routing. cc(624) : error in "priced_routing": check route.has_ chain(chain) failed
Start 1: test_economy
1/3 Test #1: test_economy .......
Running 21 test cases...
/home/user/
lastserial: 0
lastserial: 0
lastserial: 0
*** 1 failure detected in test suite "Economy"
Start 2: test_io_filesystem scripting scripting ......... Passed 0.01 sec
2/3 Test #2: test_io_filesystem ............... Passed 0.01 sec
Start 3: test_widelands_
3/3 Test #3: test_widelands_