diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-03 10:12:13 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-03 10:12:13 +0200 |
commit | 4fafb181dd150b31ea2a46826515d91f7f277136 (patch) | |
tree | d0c1c0524c0daa1ed39c91fec35da7cf404d5f1b /core/test | |
parent | a69bb5652bb5228cb3718f2c4503e3490c1072fa (diff) | |
download | RustAndDust-4fafb181dd150b31ea2a46826515d91f7f277136.zip RustAndDust-4fafb181dd150b31ea2a46826515d91f7f277136.tar.gz |
Board: API goes GridPoint2
Diffstat (limited to 'core/test')
-rw-r--r-- | core/test/ch/asynk/tankontank/BoardUtils.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/test/ch/asynk/tankontank/BoardUtils.java b/core/test/ch/asynk/tankontank/BoardUtils.java index 7bdbe42..56c6637 100644 --- a/core/test/ch/asynk/tankontank/BoardUtils.java +++ b/core/test/ch/asynk/tankontank/BoardUtils.java @@ -115,11 +115,13 @@ public class BoardUtils assertTrue(n == 8); assertTrue(points.size() == 8); - n = b.possiblePathsFilterToggle(3, 3, points); + GridPoint2 p0 = new GridPoint2(3, 3); + n = b.possiblePathsFilterToggle(p0, points); assertTrue(n == 5); assertTrue(points.size() == 6); - n = b.possiblePathsFilterToggle(4, 4, points); + GridPoint2 p1 = new GridPoint2(4, 4); + n = b.possiblePathsFilterToggle(p1, points); assertTrue(n == 1); assertTrue(points.size() == 4); } |