Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ebba Blomqvist
Freecol
Commits
a1df9888
Commit
a1df9888
authored
Jun 15, 2017
by
Ola Leifler
Browse files
Reversed order of parameters to fix test
parent
c881a632
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/src/net/sf/freecol/common/model/PathfindingTest.java
View file @
a1df9888
...
...
@@ -136,7 +136,7 @@ public class PathfindingTest extends FreeColTestCase {
assertNotNull
(
path
);
assertEquals
(
"Composed-OR GoalDecider should find natives"
,
nativeTile
,
path
.
getLastNode
().
getTile
());
gd
=
GoalDeciders
.
getComposedGoalDecider
(
false
,
nativeGD
,
colony
GD
);
gd
=
GoalDeciders
.
getComposedGoalDecider
(
false
,
colonyGD
,
native
GD
);
path
=
unit
.
search
(
unitTile
,
gd
,
null
,
1
,
null
);
assertNotNull
(
path
);
assertEquals
(
"Composed-OR GoalDecider should find colony"
,
colonyTile
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment